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 378a370 commit 6c88a28Copy full SHA for 6c88a28
src/librustc_typeck/diagnostics.rs
@@ -959,6 +959,20 @@ fn main() {
959
```
960
"##,
961
962
+E0091: r##"
963
+You gave an unnecessary type parameter. Erroneous code example:
964
+
965
+```
966
+type Foo<T> = u32; // error: type parameter `T` is unused
967
968
969
+Please check you didn't write to many type parameter. Example:
970
971
972
+type Foo = u32; // ok!
973
974
+"##,
975
976
E0106: r##"
977
This error indicates that a lifetime is missing from a type. If it is an error
978
inside a function signature, the problem may be with failing to adhere to the
@@ -1587,7 +1601,6 @@ register_diagnostics! {
1587
1601
E0086,
1588
1602
E0088,
1589
1603
E0090,
1590
- E0091,
1591
1604
E0092,
1592
1605
E0093,
1593
1606
E0094,
0 commit comments