1 warning: type `snake_case` should have an upper camel case name
2 --> $DIR/lint-group-nonstandard-style.rs:22:16
4 LL | struct snake_case;
5 | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakeCase`
7 note: the lint level is defined here
8 --> $DIR/lint-group-nonstandard-style.rs:18:17
10 LL | #![warn(nonstandard_style)]
12 = note: `#[warn(non_camel_case_types)]` implied by `#[warn(nonstandard_style)]`
14 error: function `CamelCase` should have a snake case name
15 --> $DIR/lint-group-nonstandard-style.rs:4:4
17 LL | fn CamelCase() {}
18 | ^^^^^^^^^ help: convert the identifier to snake case: `camel_case`
20 note: the lint level is defined here
21 --> $DIR/lint-group-nonstandard-style.rs:1:9
23 LL | #![deny(nonstandard_style)]
25 = note: `#[deny(non_snake_case)]` implied by `#[deny(nonstandard_style)]`
27 error: function `CamelCase` should have a snake case name
28 --> $DIR/lint-group-nonstandard-style.rs:12:12
30 LL | fn CamelCase() {}
31 | ^^^^^^^^^ help: convert the identifier to snake case: `camel_case`
33 note: the lint level is defined here
34 --> $DIR/lint-group-nonstandard-style.rs:10:14
36 LL | #[forbid(nonstandard_style)]
38 = note: `#[forbid(non_snake_case)]` implied by `#[forbid(nonstandard_style)]`
40 error: static variable `bad` should have an upper case name
41 --> $DIR/lint-group-nonstandard-style.rs:14:16
43 LL | static bad: isize = 1;
44 | ^^^ help: convert the identifier to upper case: `BAD`
46 note: the lint level is defined here
47 --> $DIR/lint-group-nonstandard-style.rs:10:14
49 LL | #[forbid(nonstandard_style)]
51 = note: `#[forbid(non_upper_case_globals)]` implied by `#[forbid(nonstandard_style)]`
53 warning: function `CamelCase` should have a snake case name
54 --> $DIR/lint-group-nonstandard-style.rs:20:12
56 LL | fn CamelCase() {}
57 | ^^^^^^^^^ help: convert the identifier to snake case: `camel_case`
59 note: the lint level is defined here
60 --> $DIR/lint-group-nonstandard-style.rs:18:17
62 LL | #![warn(nonstandard_style)]
64 = note: `#[warn(non_snake_case)]` implied by `#[warn(nonstandard_style)]`
66 error: aborting due to 3 previous errors