1 error: unsatisfied lifetime constraints
2 --> $DIR/regions-outlives-projection-container.rs:50:13
4 LL | fn with_assoc<'a,'b>() {
5 | -- -- lifetime `'b` defined here
7 | lifetime `'a` defined here
9 LL | let _x: &'a WithAssoc<TheType<'b>> = loop { };
10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
12 error: unsatisfied lifetime constraints
13 --> $DIR/regions-outlives-projection-container.rs:68:13
15 LL | fn without_assoc<'a,'b>() {
16 | -- -- lifetime `'b` defined here
18 | lifetime `'a` defined here
20 LL | let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
23 error: unsatisfied lifetime constraints
24 --> $DIR/regions-outlives-projection-container.rs:77:5
26 LL | fn call_with_assoc<'a,'b>() {
27 | -- -- lifetime `'b` defined here
29 | lifetime `'a` defined here
31 LL | call::<&'a WithAssoc<TheType<'b>>>();
32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
34 error: unsatisfied lifetime constraints
35 --> $DIR/regions-outlives-projection-container.rs:84:5
37 LL | fn call_without_assoc<'a,'b>() {
38 | -- -- lifetime `'b` defined here
40 | lifetime `'a` defined here
42 LL | call::<&'a WithoutAssoc<TheType<'b>>>(); //~ ERROR reference has a longer lifetime
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
45 error: aborting due to 4 previous errors