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:
bors 2023-03-09 16:05:58 +00:00 committed by Eric Huss
parent 52716f51a2
commit 02eceea125
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
```