1 warning: unused variable: `Mod`
2 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:12:9
4 LL | let Mod: usize = 0;
5 | ^^^ help: if this is intentional, prefix it with an underscore: `_Mod`
7 note: the lint level is defined here
8 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:1:9
12 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
14 warning: unused variable: `Super`
15 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:16:9
17 LL | let Super: usize = 0;
18 | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Super`
20 error: module `Impl` should have a snake case name
21 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:5:5
26 note: the lint level is defined here
27 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:3:9
29 LL | #![deny(non_snake_case)]
31 help: rename the identifier or convert it to a snake case raw identifier
36 error: function `While` should have a snake case name
37 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:8:4
42 help: rename the identifier or convert it to a snake case raw identifier
47 error: variable `Mod` should have a snake case name
48 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:12:9
50 LL | let Mod: usize = 0;
53 help: rename the identifier or convert it to a snake case raw identifier
55 LL | let r#mod: usize = 0;
58 error: variable `Super` should have a snake case name
59 --> $DIR/lint-non-snake-case-identifiers-suggestion-reserved.rs:16:9
61 LL | let Super: usize = 0;
62 | ^^^^^ help: rename the identifier
64 = note: `super` cannot be used as a raw identifier
66 error: aborting due to 4 previous errors; 2 warnings emitted