Skip to content

Commit ab167d2

Browse files
committed
Update for rustc output changes
1 parent 2fb59c9 commit ab167d2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/ui/shadow.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error: `x` is shadowed by itself in `&mut x`
2-
--> $DIR/shadow.rs:13:9
2+
--> $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
@@ -12,10 +12,10 @@ note: previous binding is here
1212
| ^
1313

1414
error: `x` is shadowed by itself in `{ x }`
15-
--> $DIR/shadow.rs:14:9
15+
--> $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
@@ -24,10 +24,10 @@ note: previous binding is here
2424
| ^
2525

2626
error: `x` is shadowed by itself in `(&*x)`
27-
--> $DIR/shadow.rs:15:9
27+
--> $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
@@ -123,10 +123,10 @@ note: previous binding is here
123123
| ^
124124

125125
error: `x` shadows a previous declaration
126-
--> $DIR/shadow.rs:23:9
126+
--> $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)