1
1
error: lifetime may not live long enough
2
- --> $DIR/regions-outlives-projection-container.rs:40 :13
2
+ --> $DIR/regions-outlives-projection-container.rs:36 :13
3
3
|
4
4
LL | fn with_assoc<'a,'b>() {
5
5
| -- -- lifetime `'b` defined here
@@ -10,7 +10,7 @@ LL | let _x: &'a WithAssoc<TheType<'b>> = loop { };
10
10
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
11
11
12
12
error: lifetime may not live long enough
13
- --> $DIR/regions-outlives-projection-container.rs:58 :13
13
+ --> $DIR/regions-outlives-projection-container.rs:54 :13
14
14
|
15
15
LL | fn without_assoc<'a,'b>() {
16
16
| -- -- lifetime `'b` defined here
@@ -21,7 +21,7 @@ LL | let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
21
21
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
22
22
23
23
error: lifetime may not live long enough
24
- --> $DIR/regions-outlives-projection-container.rs:67 :5
24
+ --> $DIR/regions-outlives-projection-container.rs:63 :5
25
25
|
26
26
LL | fn call_with_assoc<'a,'b>() {
27
27
| -- -- lifetime `'b` defined here
@@ -32,7 +32,7 @@ LL | call::<&'a WithAssoc<TheType<'b>>>();
32
32
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
33
33
34
34
error: lifetime may not live long enough
35
- --> $DIR/regions-outlives-projection-container.rs:74 :5
35
+ --> $DIR/regions-outlives-projection-container.rs:70 :5
36
36
|
37
37
LL | fn call_without_assoc<'a,'b>() {
38
38
| -- -- lifetime `'b` defined here
0 commit comments