From 55513696bd8864ff3296ee657e1b25f9a39ad871 Mon Sep 17 00:00:00 2001 From: comex Date: Fri, 6 Jan 2017 18:51:16 -0500 Subject: [PATCH] Fix test/ui/span/issue-24690.stderr The errors are now emitted in a different order (in order of source location rather than going back and forth) but otherwise everything's the same. --- src/test/ui/span/issue-24690.stderr | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/test/ui/span/issue-24690.stderr b/src/test/ui/span/issue-24690.stderr index 0d2a2ef75166..dbe5e31287e9 100644 --- a/src/test/ui/span/issue-24690.stderr +++ b/src/test/ui/span/issue-24690.stderr @@ -1,15 +1,3 @@ -error: unused variable: `theOtherTwo` - --> $DIR/issue-24690.rs:20:9 - | -20 | let theOtherTwo = 2; - | ^^^^^^^^^^^ - | -note: lint level defined here - --> $DIR/issue-24690.rs:16:9 - | -16 | #![deny(warnings)] - | ^^^^^^^^ - error: variable `theTwo` should have a snake case name such as `the_two` --> $DIR/issue-24690.rs:19:9 | @@ -28,5 +16,17 @@ error: variable `theOtherTwo` should have a snake case name such as `the_other_t 20 | let theOtherTwo = 2; | ^^^^^^^^^^^ +error: unused variable: `theOtherTwo` + --> $DIR/issue-24690.rs:20:9 + | +20 | let theOtherTwo = 2; + | ^^^^^^^^^^^ + | +note: lint level defined here + --> $DIR/issue-24690.rs:16:9 + | +16 | #![deny(warnings)] + | ^^^^^^^^ + error: aborting due to 3 previous errors