1 error[E0261]: use of undeclared lifetime name `'a`
2 --> $DIR/where-lifetime-resolution.rs:6:38
5 | - help: consider introducing lifetime `'a` here: `<'a>`
6 LL | for<'a> dyn Trait1<'a>: Trait1<'a>, // OK
7 LL | (dyn for<'a> Trait1<'a>): Trait1<'a>,
8 | ^^ undeclared lifetime
10 = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
12 error[E0261]: use of undeclared lifetime name `'b`
13 --> $DIR/where-lifetime-resolution.rs:8:52
16 | - help: consider introducing lifetime `'b` here: `<'b>`
18 LL | for<'a> dyn for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>,
19 | ^^ undeclared lifetime
21 = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0261`.