1 warning: unused variable: `theOtherTwo`
2 --> $DIR/issue-24690.rs:23:9
4 23 | let theOtherTwo = 2; //~ WARN should have a snake case name
5 | ^^^^^^^^^^^ help: consider using `_theOtherTwo` instead
7 note: lint level defined here
8 --> $DIR/issue-24690.rs:18:9
12 = note: #[warn(unused_variables)] implied by #[warn(unused)]
14 warning: variable `theTwo` should have a snake case name such as `the_two`
15 --> $DIR/issue-24690.rs:22:9
17 22 | let theTwo = 2; //~ WARN should have a snake case name
20 = note: #[warn(non_snake_case)] on by default
22 warning: variable `theOtherTwo` should have a snake case name such as `the_other_two`
23 --> $DIR/issue-24690.rs:23:9
25 23 | let theOtherTwo = 2; //~ WARN should have a snake case name
28 error: compilation successful
29 --> $DIR/issue-24690.rs:21:1
31 21 | / fn main() { //~ ERROR compilation successful
32 22 | | let theTwo = 2; //~ WARN should have a snake case name
33 23 | | let theOtherTwo = 2; //~ WARN should have a snake case name
34 24 | | //~^ WARN unused variable
35 25 | | println!("{}", theTwo);