From d6fc34fd080bccc81e16b82ab01da3e1bc7e5820 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Mon, 14 Aug 2017 09:51:16 +0200 Subject: [PATCH] Update for rustc output changes --- tests/ui/shadow.stderr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/ui/shadow.stderr b/tests/ui/shadow.stderr index 9501fd68fce..3fc2b7234f7 100644 --- a/tests/ui/shadow.stderr +++ b/tests/ui/shadow.stderr @@ -1,8 +1,8 @@ error: `x` is shadowed by itself in `&mut x` - --> $DIR/shadow.rs:13:9 + --> $DIR/shadow.rs:13:5 | 13 | let x = &mut x; - | ^^^^^^^^^^ + | ^^^^^^^^^^^^^^ | = note: `-D shadow-same` implied by `-D warnings` note: previous binding is here @@ -12,10 +12,10 @@ note: previous binding is here | ^ error: `x` is shadowed by itself in `{ x }` - --> $DIR/shadow.rs:14:9 + --> $DIR/shadow.rs:14:5 | 14 | let x = { x }; - | ^^^^^^^^^ + | ^^^^^^^^^^^^^ | note: previous binding is here --> $DIR/shadow.rs:13:9 @@ -24,10 +24,10 @@ note: previous binding is here | ^ error: `x` is shadowed by itself in `(&*x)` - --> $DIR/shadow.rs:15:9 + --> $DIR/shadow.rs:15:5 | 15 | let x = (&*x); - | ^^^^^^^^^ + | ^^^^^^^^^^^^^ | note: previous binding is here --> $DIR/shadow.rs:14:9 @@ -123,10 +123,10 @@ note: previous binding is here | ^ error: `x` shadows a previous declaration - --> $DIR/shadow.rs:23:9 + --> $DIR/shadow.rs:23:5 | 23 | let x; - | ^ + | ^^^^^ | note: previous binding is here --> $DIR/shadow.rs:21:9 -- 2.44.0