1 error: method `Foo_Method` should have a snake case name
2 --> $DIR/lint-non-snake-case-functions.rs:7:8
4 LL | fn Foo_Method() {}
5 | ^^^^^^^^^^ help: convert the identifier to snake case: `foo_method`
7 note: the lint level is defined here
8 --> $DIR/lint-non-snake-case-functions.rs:1:9
10 LL | #![deny(non_snake_case)]
13 error: method `foo__method` should have a snake case name
14 --> $DIR/lint-non-snake-case-functions.rs:11:8
16 LL | fn foo__method(&self) {}
17 | ^^^^^^^^^^^ help: convert the identifier to snake case: `foo_method`
19 error: method `xyZ` should have a snake case name
20 --> $DIR/lint-non-snake-case-functions.rs:14:12
22 LL | pub fn xyZ(&mut self) {}
23 | ^^^ help: convert the identifier to snake case: `xy_z`
25 error: method `render_HTML` should have a snake case name
26 --> $DIR/lint-non-snake-case-functions.rs:17:8
28 LL | fn render_HTML() {}
29 | ^^^^^^^^^^^ help: convert the identifier to snake case: `render_html`
31 error: trait method `ABC` should have a snake case name
32 --> $DIR/lint-non-snake-case-functions.rs:22:8
35 | ^^^ help: convert the identifier to snake case: `abc`
37 error: trait method `a_b_C` should have a snake case name
38 --> $DIR/lint-non-snake-case-functions.rs:25:8
40 LL | fn a_b_C(&self) {}
41 | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_b_c`
43 error: trait method `something__else` should have a snake case name
44 --> $DIR/lint-non-snake-case-functions.rs:28:8
46 LL | fn something__else(&mut self);
47 | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `something_else`
49 error: function `Cookie` should have a snake case name
50 --> $DIR/lint-non-snake-case-functions.rs:38:4
53 | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cookie`
55 error: function `bi_S_Cuit` should have a snake case name
56 --> $DIR/lint-non-snake-case-functions.rs:41:8
58 LL | pub fn bi_S_Cuit() {}
59 | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `bi_s_cuit`
61 error: aborting due to 9 previous errors