We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de983c9 commit e668552Copy full SHA for e668552
src/doc/src/reference/semver.md
@@ -634,7 +634,7 @@ pub trait Trait<T> {}
634
use updated_crate::Trait;
635
struct Foo;
636
637
-impl Trait for Foo {} // Error: wrong number of type arguments
+impl Trait for Foo {} // Error: missing generics
638
```
639
640
Mitigating strategies:
@@ -943,7 +943,7 @@ pub fn foo<T, U>() {}
943
use updated_crate::foo;
944
945
fn main() {
946
- foo::<u8>(); // Error: wrong number of type arguments
+ foo::<u8>(); // Error: this function takes 2 type arguments but only 1 type argument was supplied
947
}
948
949
0 commit comments