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