Skip to content

Commit

Permalink
Auto merge of rust-lang#9763 - erickt:fix-semver-check, r=ehuss
Browse files Browse the repository at this point in the history
Fix semver check for rust 1.54.0

This updates semver.md to use the new error message for reporting missing generic arguments.
  • Loading branch information
bors authored and ehuss committed Aug 20, 2021
1 parent 09eb666 commit ac44893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ pub fn foo<T, U>() {}
use updated_crate::foo;
fn main() {
foo::<u8>(); // Error: this function takes 2 type arguments but only 1 type argument was supplied
foo::<u8>(); // Error: this function takes 2 generic arguments but 1 generic argument was supplied
}
```

Expand Down

0 comments on commit ac44893

Please sign in to comment.