Commit b54903f
authored
Rollup merge of #40723 - SamWhited:e0090_error_explanation, r=estebank
E0090: Add explanation for error message
See #32777
$ rustc --explain E0090
The wrong number of lifetimes were supplied. For example:
```
fn foo<'a: 'b, 'b: 'a>() {}
fn main() {
foo::<'static>(); // error, expected 2 lifetime parameters
}
```1 file changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1223 | 1223 | | |
1224 | 1224 | | |
1225 | 1225 | | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
1226 | 1248 | | |
1227 | 1249 | | |
1228 | 1250 | | |
| |||
4120 | 4142 | | |
4121 | 4143 | | |
4122 | 4144 | | |
4123 | | - | |
4124 | 4145 | | |
4125 | 4146 | | |
4126 | 4147 | | |
| |||
0 commit comments