Skip to content

Commit 032081c

Browse files
committed
Trivial updates to .nll.stderr files post-rebase, reflecting s/-Znll/nll/ in messages.
1 parent ea45474 commit 032081c

File tree

48 files changed

+57
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+57
-57
lines changed

src/test/ui/borrowck/issue-45983.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/issue-45983.rs:17:27
33
|
44
LL | give_any(|y| x = Some(y));

src/test/ui/borrowck/issue-7573.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/issue-7573.rs:27:31
33
|
44
LL | let mut lines_to_use: Vec<&CrateId> = Vec::new();

src/test/ui/borrowck/regions-escape-bound-fn-2.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/regions-escape-bound-fn-2.rs:18:27
33
|
44
LL | with_int(|y| x = Some(y));

src/test/ui/borrowck/regions-escape-bound-fn.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/regions-escape-bound-fn.rs:18:22
33
|
44
LL | with_int(|y| x = Some(y));

src/test/ui/borrowck/regions-escape-unboxed-closure.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/regions-escape-unboxed-closure.rs:16:27
33
|
44
LL | with_int(&mut |y| x = Some(y));

src/test/ui/closure-expected-type/expect-region-supply-region.nll.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/expect-region-supply-region.rs:28:13
33
|
44
LL | f = Some(x); //~ ERROR borrowed data cannot be stored outside of its closure
55
| ^^^^^^^
66

7-
warning: not reporting region error due to -Znll
7+
warning: not reporting region error due to nll
88
--> $DIR/expect-region-supply-region.rs:38:13
99
|
1010
LL | f = Some(x); //~ ERROR borrowed data cannot be stored outside of its closure
1111
| ^^^^^^^
1212

13-
warning: not reporting region error due to -Znll
13+
warning: not reporting region error due to nll
1414
--> $DIR/expect-region-supply-region.rs:47:33
1515
|
1616
LL | closure_expecting_bound(|x: &'x u32| {
1717
| ^^^^^^^
1818

19-
warning: not reporting region error due to -Znll
19+
warning: not reporting region error due to nll
2020
--> $DIR/expect-region-supply-region.rs:52:13
2121
|
2222
LL | f = Some(x);

src/test/ui/error-codes/E0621-does-not-trigger-for-closures.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/E0621-does-not-trigger-for-closures.rs:25:5
33
|
44
LL | invoke(&x, |a, b| if a > b { a } else { b }); //~ ERROR E0495

src/test/ui/in-band-lifetimes/impl/dyn-trait.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/dyn-trait.rs:33:16
33
|
44
LL | static_val(x); //~ ERROR cannot infer

src/test/ui/in-band-lifetimes/mismatched.nll.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/mismatched.rs:14:42
33
|
44
LL | fn foo(x: &'a u32, y: &u32) -> &'a u32 { y } //~ ERROR explicit lifetime required
55
| ^
66

7-
warning: not reporting region error due to -Znll
7+
warning: not reporting region error due to nll
88
--> $DIR/mismatched.rs:16:46
99
|
1010
LL | fn foo2(x: &'a u32, y: &'b u32) -> &'a u32 { y } //~ ERROR lifetime mismatch

src/test/ui/in-band-lifetimes/mismatched_trait.nll.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: not reporting region error due to -Znll
1+
warning: not reporting region error due to nll
22
--> $DIR/mismatched_trait.rs:16:9
33
|
44
LL | y //~ ERROR explicit lifetime required

0 commit comments

Comments
 (0)