Skip to content

Commit 7e6687f

Browse files
committed
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.
2 parents 7d3033d + a6c9a21 commit 7e6687f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/semver.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ impl Trait for Foo {}
702702
703703
fn main() {
704704
let x = Foo;
705-
x.foo(1); // Error: this function takes 0 arguments
705+
x.foo(1); // Error: this method takes 0 arguments but 1 argument was supplied
706706
}
707707
```
708708

0 commit comments

Comments
 (0)