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