mirror of https://github.com/rust-lang/cargo
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:
parent
52716f51a2
commit
02eceea125
|
@ -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…
Reference in New Issue