Skip to content

Commit 3073edb

Browse files
committed
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 cc17afb commit 3073edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/semver.md

Lines changed: 1 addition & 1 deletion
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)