Skip to content

Commit 408b522

Browse files
authored
Merge pull request #2122 from sinkuu/local_span
Test failure fix with rustc 1.22.0-nightly (150b625 2017-10-08)
2 parents 28c401f + 9ebc30c commit 408b522

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ui/shadow.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: `x` is shadowed by itself in `&mut x`
22
--> $DIR/shadow.rs:13:5
33
|
44
13 | let x = &mut x;
5-
| ^^^^^^^^^^^^^^
5+
| ^^^^^^^^^^^^^^^
66
|
77
= note: `-D shadow-same` implied by `-D warnings`
88
note: previous binding is here
@@ -15,7 +15,7 @@ error: `x` is shadowed by itself in `{ x }`
1515
--> $DIR/shadow.rs:14:5
1616
|
1717
14 | let x = { x };
18-
| ^^^^^^^^^^^^^
18+
| ^^^^^^^^^^^^^^
1919
|
2020
note: previous binding is here
2121
--> $DIR/shadow.rs:13:9
@@ -27,7 +27,7 @@ error: `x` is shadowed by itself in `(&*x)`
2727
--> $DIR/shadow.rs:15:5
2828
|
2929
15 | let x = (&*x);
30-
| ^^^^^^^^^^^^^
30+
| ^^^^^^^^^^^^^^
3131
|
3232
note: previous binding is here
3333
--> $DIR/shadow.rs:14:9
@@ -126,7 +126,7 @@ error: `x` shadows a previous declaration
126126
--> $DIR/shadow.rs:23:5
127127
|
128128
23 | let x;
129-
| ^^^^^
129+
| ^^^^^^
130130
|
131131
note: previous binding is here
132132
--> $DIR/shadow.rs:21:9

0 commit comments

Comments
 (0)