]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0261]: use of undeclared lifetime name `'a` |
dc9dc135 | 2 | --> $DIR/where-lifetime-resolution.rs:6:38 |
b7449926 | 3 | | |
dfeec247 XL |
4 | LL | fn f() where |
5 | | - help: consider introducing lifetime `'a` here: `<'a>` | |
6 | LL | for<'a> dyn Trait1<'a>: Trait1<'a>, // OK | |
dc9dc135 XL |
7 | LL | (dyn for<'a> Trait1<'a>): Trait1<'a>, |
8 | | ^^ undeclared lifetime | |
b7449926 XL |
9 | |
10 | error[E0261]: use of undeclared lifetime name `'b` | |
dc9dc135 | 11 | --> $DIR/where-lifetime-resolution.rs:8:52 |
b7449926 | 12 | | |
dfeec247 XL |
13 | LL | fn f() where |
14 | | - help: consider introducing lifetime `'b` here: `<'b>` | |
15 | ... | |
dc9dc135 XL |
16 | LL | for<'a> dyn for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>, |
17 | | ^^ undeclared lifetime | |
b7449926 | 18 | |
f035d41b | 19 | error: aborting due to 2 previous errors |
b7449926 | 20 | |
48663c56 | 21 | For more information about this error, try `rustc --explain E0261`. |