From 35979a92bf6dba402885a1488ecfd84046e4bd71 Mon Sep 17 00:00:00 2001 From: varkor Date: Sun, 22 Dec 2019 21:08:53 +0000 Subject: Add span information to `ExprKind::Assign` --- src/test/ui/error-codes/E0070.stderr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/test/ui/error-codes') diff --git a/src/test/ui/error-codes/E0070.stderr b/src/test/ui/error-codes/E0070.stderr index 1fb812d9467..d809bb18dee 100644 --- a/src/test/ui/error-codes/E0070.stderr +++ b/src/test/ui/error-codes/E0070.stderr @@ -1,16 +1,16 @@ error[E0070]: invalid left-hand side of assignment - --> $DIR/E0070.rs:6:5 + --> $DIR/E0070.rs:6:16 | LL | SOME_CONST = 14; - | ----------^^^^^ + | ---------- ^ | | | cannot assign to this expression error[E0070]: invalid left-hand side of assignment - --> $DIR/E0070.rs:7:5 + --> $DIR/E0070.rs:7:7 | LL | 1 = 3; - | -^^^^ + | - ^ | | | cannot assign to this expression @@ -21,10 +21,10 @@ LL | some_other_func() = 4; | ^ expected `()`, found integer error[E0070]: invalid left-hand side of assignment - --> $DIR/E0070.rs:8:5 + --> $DIR/E0070.rs:8:23 | LL | some_other_func() = 4; - | -----------------^^^^ + | ----------------- ^ | | | cannot assign to this expression -- cgit 1.4.1-3-g733a5