]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-24690.stderr
note individual lint name set via lint group attribute in notes
[rust.git] / src / test / ui / span / issue-24690.stderr
1 error: variable `theTwo` should have a snake case name such as `the_two`
2   --> $DIR/issue-24690.rs:19:9
3    |
4 19 |     let theTwo = 2;
5    |         ^^^^^^
6    |
7    = note: #[deny(warnings)] implies #[deny(non_snake_case)]
8 note: lint level defined here
9   --> $DIR/issue-24690.rs:16:9
10    |
11 16 | #![deny(warnings)]
12    |         ^^^^^^^^
13
14 error: variable `theOtherTwo` should have a snake case name such as `the_other_two`
15   --> $DIR/issue-24690.rs:20:9
16    |
17 20 |     let theOtherTwo = 2;
18    |         ^^^^^^^^^^^
19    |
20    = note: #[deny(warnings)] implies #[deny(non_snake_case)]
21
22 error: unused variable: `theOtherTwo`
23   --> $DIR/issue-24690.rs:20:9
24    |
25 20 |     let theOtherTwo = 2;
26    |         ^^^^^^^^^^^
27    |
28    = note: #[deny(warnings)] implies #[deny(unused_variables)]
29 note: lint level defined here
30   --> $DIR/issue-24690.rs:16:9
31    |
32 16 | #![deny(warnings)]
33    |         ^^^^^^^^
34
35 error: aborting due to 3 previous errors
36