about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-12-22 21:08:53 +0000
committervarkor <github@varkor.com>2019-12-23 11:20:13 +0000
commit35979a92bf6dba402885a1488ecfd84046e4bd71 (patch)
tree7d58702befa5cd9f8ffffa0222f3615978503520 /src/test/ui/error-codes
parent5ab4735559aeeece0b5811dad95fdf515b1bcfbd (diff)
downloadrust-35979a92bf6dba402885a1488ecfd84046e4bd71.tar.gz
rust-35979a92bf6dba402885a1488ecfd84046e4bd71.zip
Add span information to `ExprKind::Assign`
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0070.stderr12
1 files changed, 6 insertions, 6 deletions
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