diff options
| author | bors <bors@rust-lang.org> | 2019-03-23 22:26:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-03-23 22:26:11 +0000 |
| commit | 93f5ba0ee5e49090d149e2a2df422901d538cbb7 (patch) | |
| tree | 7e10d0cf3aca3f1162d1003b58902084a874d2f2 /src/test/ui/consts/const-eval/conditional_array_execution.stderr | |
| parent | 0633c55d2030969d91b57142b8582c53101e6339 (diff) | |
| parent | 59f0f2edc16131aa5ac199e1a348ceddebef1636 (diff) | |
| download | rust-93f5ba0ee5e49090d149e2a2df422901d538cbb7.tar.gz rust-93f5ba0ee5e49090d149e2a2df422901d538cbb7.zip | |
Auto merge of #59084 - estebank:diagnostic-spans, r=davidtwco
Tweak some diagnostic spans
Diffstat (limited to 'src/test/ui/consts/const-eval/conditional_array_execution.stderr')
| -rw-r--r-- | src/test/ui/consts/const-eval/conditional_array_execution.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/consts/const-eval/conditional_array_execution.stderr b/src/test/ui/consts/const-eval/conditional_array_execution.stderr index 7722c7423fc..7f94d849c00 100644 --- a/src/test/ui/consts/const-eval/conditional_array_execution.stderr +++ b/src/test/ui/consts/const-eval/conditional_array_execution.stderr @@ -1,8 +1,8 @@ warning: any use of this value will cause an error - --> $DIR/conditional_array_execution.rs:5:1 + --> $DIR/conditional_array_execution.rs:5:19 | LL | const FOO: u32 = [X - Y, Y - X][(X < Y) as usize]; - | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ------------------^^^^^--------------------------- | | | attempt to subtract with overflow | |
