Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure fix with rustc 1.22.0-nightly (150b625a0 2017-10-08) #2122

Merged
merged 1 commit into from
Oct 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/ui/shadow.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error: `x` is shadowed by itself in `&mut x`
--> $DIR/shadow.rs:13:5
|
13 | let x = &mut x;
| ^^^^^^^^^^^^^^
| ^^^^^^^^^^^^^^^
|
= note: `-D shadow-same` implied by `-D warnings`
note: previous binding is here
Expand All @@ -15,7 +15,7 @@ error: `x` is shadowed by itself in `{ x }`
--> $DIR/shadow.rs:14:5
|
14 | let x = { x };
| ^^^^^^^^^^^^^
| ^^^^^^^^^^^^^^
|
note: previous binding is here
--> $DIR/shadow.rs:13:9
Expand All @@ -27,7 +27,7 @@ error: `x` is shadowed by itself in `(&*x)`
--> $DIR/shadow.rs:15:5
|
15 | let x = (&*x);
| ^^^^^^^^^^^^^
| ^^^^^^^^^^^^^^
|
note: previous binding is here
--> $DIR/shadow.rs:14:9
Expand Down Expand Up @@ -126,7 +126,7 @@ error: `x` shadows a previous declaration
--> $DIR/shadow.rs:23:5
|
23 | let x;
| ^^^^^
| ^^^^^^
|
note: previous binding is here
--> $DIR/shadow.rs:21:9
Expand Down