Skip to content

Commit 5551369

Browse files
committed
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.
1 parent b16a54d commit 5551369

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/test/ui/span/issue-24690.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
error: unused variable: `theOtherTwo`
2-
--> $DIR/issue-24690.rs:20:9
3-
|
4-
20 | let theOtherTwo = 2;
5-
| ^^^^^^^^^^^
6-
|
7-
note: lint level defined here
8-
--> $DIR/issue-24690.rs:16:9
9-
|
10-
16 | #![deny(warnings)]
11-
| ^^^^^^^^
12-
131
error: variable `theTwo` should have a snake case name such as `the_two`
142
--> $DIR/issue-24690.rs:19:9
153
|
@@ -28,5 +16,17 @@ error: variable `theOtherTwo` should have a snake case name such as `the_other_t
2816
20 | let theOtherTwo = 2;
2917
| ^^^^^^^^^^^
3018

19+
error: unused variable: `theOtherTwo`
20+
--> $DIR/issue-24690.rs:20:9
21+
|
22+
20 | let theOtherTwo = 2;
23+
| ^^^^^^^^^^^
24+
|
25+
note: lint level defined here
26+
--> $DIR/issue-24690.rs:16:9
27+
|
28+
16 | #![deny(warnings)]
29+
| ^^^^^^^^
30+
3131
error: aborting due to 3 previous errors
3232

0 commit comments

Comments
 (0)