@@ -37,19 +37,6 @@ LL | #[forbid(nonstandard_style)]
3737 | ^^^^^^^^^^^^^^^^^
3838 = note: #[forbid(non_snake_case)] implied by #[forbid(nonstandard_style)]
3939
40- error: static variable `bad` should have an upper case name
41- --> $DIR/lint-group-nonstandard-style.rs:14:16
42- |
43- LL | static bad: isize = 1; //~ ERROR should have an upper
44- | ^^^ help: convert the identifier to upper case: `BAD`
45- |
46- note: lint level defined here
47- --> $DIR/lint-group-nonstandard-style.rs:10:14
48- |
49- LL | #[forbid(nonstandard_style)]
50- | ^^^^^^^^^^^^^^^^^
51- = note: #[forbid(non_upper_case_globals)] implied by #[forbid(nonstandard_style)]
52-
5340warning: function `CamelCase` should have a snake case name
5441 --> $DIR/lint-group-nonstandard-style.rs:20:12
5542 |
@@ -63,5 +50,18 @@ LL | #![warn(nonstandard_style)]
6350 | ^^^^^^^^^^^^^^^^^
6451 = note: #[warn(non_snake_case)] implied by #[warn(nonstandard_style)]
6552
53+ error: static variable `bad` should have an upper case name
54+ --> $DIR/lint-group-nonstandard-style.rs:14:16
55+ |
56+ LL | static bad: isize = 1; //~ ERROR should have an upper
57+ | ^^^ help: convert the identifier to upper case: `BAD`
58+ |
59+ note: lint level defined here
60+ --> $DIR/lint-group-nonstandard-style.rs:10:14
61+ |
62+ LL | #[forbid(nonstandard_style)]
63+ | ^^^^^^^^^^^^^^^^^
64+ = note: #[forbid(non_upper_case_globals)] implied by #[forbid(nonstandard_style)]
65+
6666error: aborting due to 3 previous errors
6767
0 commit comments