Skip to content

Commit ac44893

Browse files
borsehuss
authored andcommitted
Auto merge of #9763 - erickt:fix-semver-check, r=ehuss
Fix semver check for rust 1.54.0 This updates semver.md to use the new error message for reporting missing generic arguments.
1 parent 09eb666 commit ac44893

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
@@ -943,7 +943,7 @@ pub fn foo<T, U>() {}
943943
use updated_crate::foo;
944944
945945
fn main() {
946-
foo::<u8>(); // Error: this function takes 2 type arguments but only 1 type argument was supplied
946+
foo::<u8>(); // Error: this function takes 2 generic arguments but 1 generic argument was supplied
947947
}
948948
```
949949

0 commit comments

Comments
 (0)