11error: lifetime may not live long enough
2- --> $DIR/regions-outlives-projection-container.rs:40 :13
2+ --> $DIR/regions-outlives-projection-container.rs:36 :13
33 |
44LL | fn with_assoc<'a,'b>() {
55 | -- -- lifetime `'b` defined here
@@ -10,7 +10,7 @@ LL | let _x: &'a WithAssoc<TheType<'b>> = loop { };
1010 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
1111
1212error: lifetime may not live long enough
13- --> $DIR/regions-outlives-projection-container.rs:58 :13
13+ --> $DIR/regions-outlives-projection-container.rs:54 :13
1414 |
1515LL | fn without_assoc<'a,'b>() {
1616 | -- -- lifetime `'b` defined here
@@ -21,7 +21,7 @@ LL | let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
2121 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
2222
2323error: lifetime may not live long enough
24- --> $DIR/regions-outlives-projection-container.rs:67 :5
24+ --> $DIR/regions-outlives-projection-container.rs:63 :5
2525 |
2626LL | fn call_with_assoc<'a,'b>() {
2727 | -- -- lifetime `'b` defined here
@@ -32,7 +32,7 @@ LL | call::<&'a WithAssoc<TheType<'b>>>();
3232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
3333
3434error: lifetime may not live long enough
35- --> $DIR/regions-outlives-projection-container.rs:74 :5
35+ --> $DIR/regions-outlives-projection-container.rs:70 :5
3636 |
3737LL | fn call_without_assoc<'a,'b>() {
3838 | -- -- lifetime `'b` defined here
0 commit comments