mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Bless tests with --compare-mode=nll
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container-hrtb.rs:35:12
|
||||
--> $DIR/regions-outlives-projection-container-hrtb.rs:30:12
|
||||
|
|
||||
LL | fn with_assoc<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
@@ -10,7 +10,7 @@ LL | let _: &'a WithHrAssoc<TheType<'b>> = loop { };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
|
||||
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container-hrtb.rs:57:12
|
||||
--> $DIR/regions-outlives-projection-container-hrtb.rs:50:12
|
||||
|
|
||||
LL | fn with_assoc_sub<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container-wc.rs:37:12
|
||||
--> $DIR/regions-outlives-projection-container-wc.rs:33:12
|
||||
|
|
||||
LL | fn with_assoc<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container.rs:40:13
|
||||
--> $DIR/regions-outlives-projection-container.rs:36:13
|
||||
|
|
||||
LL | fn with_assoc<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
@@ -10,7 +10,7 @@ LL | let _x: &'a WithAssoc<TheType<'b>> = loop { };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
|
||||
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container.rs:58:13
|
||||
--> $DIR/regions-outlives-projection-container.rs:54:13
|
||||
|
|
||||
LL | fn without_assoc<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
@@ -21,7 +21,7 @@ LL | let _x: &'a WithoutAssoc<TheType<'b>> = loop { };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
|
||||
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container.rs:67:5
|
||||
--> $DIR/regions-outlives-projection-container.rs:63:5
|
||||
|
|
||||
LL | fn call_with_assoc<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
@@ -32,7 +32,7 @@ LL | call::<&'a WithAssoc<TheType<'b>>>();
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
|
||||
|
||||
error: lifetime may not live long enough
|
||||
--> $DIR/regions-outlives-projection-container.rs:74:5
|
||||
--> $DIR/regions-outlives-projection-container.rs:70:5
|
||||
|
|
||||
LL | fn call_without_assoc<'a,'b>() {
|
||||
| -- -- lifetime `'b` defined here
|
||||
|
||||
Reference in New Issue
Block a user