From fa2d9fc4b9e578d95fbf65613d1bf732fbdfb0d4 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Fri, 23 Feb 2018 03:42:32 +0300 Subject: Update UI tests --- src/test/ui/const-eval/issue-43197.stderr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/ui/const-eval') diff --git a/src/test/ui/const-eval/issue-43197.stderr b/src/test/ui/const-eval/issue-43197.stderr index c2fe2ff367e..c523b749d37 100644 --- a/src/test/ui/const-eval/issue-43197.stderr +++ b/src/test/ui/const-eval/issue-43197.stderr @@ -1,7 +1,7 @@ warning: constant evaluation error: attempt to subtract with overflow --> $DIR/issue-43197.rs:18:20 | -18 | const X: u32 = 0-1; //~ ERROR constant evaluation error +LL | const X: u32 = 0-1; //~ ERROR constant evaluation error | ^^^ | = note: #[warn(const_err)] on by default @@ -9,19 +9,19 @@ warning: constant evaluation error: attempt to subtract with overflow warning: constant evaluation error: attempt to subtract with overflow --> $DIR/issue-43197.rs:20:20 | -20 | const Y: u32 = foo(0-1); //~ ERROR constant evaluation error +LL | const Y: u32 = foo(0-1); //~ ERROR constant evaluation error | ^^^^^^^^ error[E0080]: constant evaluation error --> $DIR/issue-43197.rs:18:20 | -18 | const X: u32 = 0-1; //~ ERROR constant evaluation error +LL | const X: u32 = 0-1; //~ ERROR constant evaluation error | ^^^ attempt to subtract with overflow error[E0080]: constant evaluation error --> $DIR/issue-43197.rs:20:24 | -20 | const Y: u32 = foo(0-1); //~ ERROR constant evaluation error +LL | const Y: u32 = foo(0-1); //~ ERROR constant evaluation error | ^^^ attempt to subtract with overflow error: aborting due to 2 previous errors -- cgit 1.4.1-3-g733a5