1 error: higher kinded lifetime bounds on nested opaque types are not supported yet
2 --> $DIR/nested-rpit-hrtb.rs:25:69
4 LL | fn one_hrtb_outlives() -> impl for<'a> Foo<'a, Assoc = impl Sized + 'a> {}
7 note: lifetime declared here
8 --> $DIR/nested-rpit-hrtb.rs:25:36
10 LL | fn one_hrtb_outlives() -> impl for<'a> Foo<'a, Assoc = impl Sized + 'a> {}
13 error: higher kinded lifetime bounds on nested opaque types are not supported yet
14 --> $DIR/nested-rpit-hrtb.rs:29:68
16 LL | fn one_hrtb_trait_param() -> impl for<'a> Foo<'a, Assoc = impl Qux<'a>> {}
19 note: lifetime declared here
20 --> $DIR/nested-rpit-hrtb.rs:29:39
22 LL | fn one_hrtb_trait_param() -> impl for<'a> Foo<'a, Assoc = impl Qux<'a>> {}
25 error: higher kinded lifetime bounds on nested opaque types are not supported yet
26 --> $DIR/nested-rpit-hrtb.rs:32:74
28 LL | fn one_hrtb_outlives_uses() -> impl for<'a> Bar<'a, Assoc = impl Sized + 'a> {}
31 note: lifetime declared here
32 --> $DIR/nested-rpit-hrtb.rs:32:41
34 LL | fn one_hrtb_outlives_uses() -> impl for<'a> Bar<'a, Assoc = impl Sized + 'a> {}
37 error: higher kinded lifetime bounds on nested opaque types are not supported yet
38 --> $DIR/nested-rpit-hrtb.rs:35:73
40 LL | fn one_hrtb_trait_param_uses() -> impl for<'a> Bar<'a, Assoc = impl Qux<'a>> {}
43 note: lifetime declared here
44 --> $DIR/nested-rpit-hrtb.rs:35:44
46 LL | fn one_hrtb_trait_param_uses() -> impl for<'a> Bar<'a, Assoc = impl Qux<'a>> {}
49 error[E0261]: use of undeclared lifetime name `'b`
50 --> $DIR/nested-rpit-hrtb.rs:54:77
52 LL | fn two_htrb_outlives() -> impl for<'a> Foo<'a, Assoc = impl for<'b> Sized + 'b> {}
53 | - help: consider introducing lifetime `'b` here: `<'b>` ^^ undeclared lifetime
55 error[E0496]: lifetime name `'b` shadows a lifetime name that is already in scope
56 --> $DIR/nested-rpit-hrtb.rs:54:65
58 LL | fn two_htrb_outlives() -> impl for<'a> Foo<'a, Assoc = impl for<'b> Sized + 'b> {}
59 | ^^ -- first declared here
61 | lifetime `'b` already in scope
63 error[E0261]: use of undeclared lifetime name `'b`
64 --> $DIR/nested-rpit-hrtb.rs:62:82
66 LL | fn two_htrb_outlives_uses() -> impl for<'a> Bar<'a, Assoc = impl for<'b> Sized + 'b> {}
67 | - help: consider introducing lifetime `'b` here: `<'b>` ^^ undeclared lifetime
69 error[E0496]: lifetime name `'b` shadows a lifetime name that is already in scope
70 --> $DIR/nested-rpit-hrtb.rs:62:70
72 LL | fn two_htrb_outlives_uses() -> impl for<'a> Bar<'a, Assoc = impl for<'b> Sized + 'b> {}
73 | ^^ -- first declared here
75 | lifetime `'b` already in scope
77 error: aborting due to 8 previous errors
79 Some errors have detailed explanations: E0261, E0496.
80 For more information about an error, try `rustc --explain E0261`.