]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-24690.stderr
deduplicate one-time diagnostics on lint ID as well as span and message
[rust.git] / src / test / ui / span / issue-24690.stderr
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
13 error: variable `theTwo` should have a snake case name such as `the_two`
14   --> $DIR/issue-24690.rs:19:9
15    |
16 19 |     let theTwo = 2;
17    |         ^^^^^^
18    |
19 note: lint level defined here
20   --> $DIR/issue-24690.rs:16:9
21    |
22 16 | #![deny(warnings)]
23    |         ^^^^^^^^
24
25 error: variable `theOtherTwo` should have a snake case name such as `the_other_two`
26   --> $DIR/issue-24690.rs:20:9
27    |
28 20 |     let theOtherTwo = 2;
29    |         ^^^^^^^^^^^
30
31 error: aborting due to 3 previous errors
32