mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #11817 - weihanglo:semvercheck-fix, r=epage
Fix semver check for 1.68 See https://github.com/rust-lang/cargo/actions/runs/4375746793/jobs/7656883351 Run `cd src/doc/semver-check && cargo +stable run` to test.
This commit is contained in:
commit
7e6687f280
@ -702,7 +702,7 @@ impl Trait for Foo {}
|
||||
|
||||
fn main() {
|
||||
let x = Foo;
|
||||
x.foo(1); // Error: this function takes 0 arguments
|
||||
x.foo(1); // Error: this method takes 0 arguments but 1 argument was supplied
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user