Skip to content

Commit b21ee49

Browse files
committed
Bless tests with --compare-mode=nll
1 parent b7b4c3a commit b21ee49

3 files changed

+7
-7
lines changed

src/test/ui/regions/regions-outlives-projection-container-hrtb.migrate.nll.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: lifetime may not live long enough
2-
--> $DIR/regions-outlives-projection-container-hrtb.rs:35:12
2+
--> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
33
|
44
LL | fn with_assoc<'a,'b>() {
55
| -- -- lifetime `'b` defined here
@@ -10,7 +10,7 @@ LL | let _: &'a WithHrAssoc<TheType<'b>> = loop { };
1010
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
1111

1212
error: lifetime may not live long enough
13-
--> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
13+
--> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
1414
|
1515
LL | fn with_assoc_sub<'a,'b>() {
1616
| -- -- lifetime `'b` defined here

src/test/ui/regions/regions-outlives-projection-container-wc.migrate.nll.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: lifetime may not live long enough
2-
--> $DIR/regions-outlives-projection-container-wc.rs:37:12
2+
--> $DIR/regions-outlives-projection-container-wc.rs:33:12
33
|
44
LL | fn with_assoc<'a,'b>() {
55
| -- -- lifetime `'b` defined here

src/test/ui/regions/regions-outlives-projection-container.nll.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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
33
|
44
LL | 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

1212
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
1414
|
1515
LL | 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

2323
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
2525
|
2626
LL | 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

3434
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
3636
|
3737
LL | fn call_without_assoc<'a,'b>() {
3838
| -- -- lifetime `'b` defined here

0 commit comments

Comments
 (0)