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 cab4bff commit 8e352f7Copy full SHA for 8e352f7
src/librustc_typeck/diagnostics.rs
@@ -1223,6 +1223,18 @@ fn main() {
1223
```
1224
"##,
1225
1226
+E0090: r##"
1227
+The wrong number of lifetimes were supplied. For example:
1228
+
1229
+```compile_fail,E0090
1230
+fn foo<'a: 'b, 'b: 'a>() {}
1231
1232
+fn main() {
1233
+ foo::<'static>(); // error, expected 2 lifetime parameters
1234
+}
1235
+```
1236
+"##,
1237
1238
E0091: r##"
1239
You gave an unnecessary type parameter in a type alias. Erroneous code
1240
example:
@@ -4120,7 +4132,6 @@ register_diagnostics! {
4120
4132
// E0068,
4121
4133
// E0085,
4122
4134
// E0086,
4123
- E0090,
4124
4135
E0103, // @GuillaumeGomez: I was unable to get this error, try your best!
4125
4136
E0104,
4126
4137
// E0123,
0 commit comments