Skip to content

Commit 0d88953

Browse files
committed
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.
2 parents cc17afb + 3073edb commit 0d88953

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)