@@ -37,19 +37,6 @@ LL | #[forbid(nonstandard_style)]
37
37
| ^^^^^^^^^^^^^^^^^
38
38
= note: #[forbid(non_snake_case)] implied by #[forbid(nonstandard_style)]
39
39
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
-
53
40
warning: function `CamelCase` should have a snake case name
54
41
--> $DIR/lint-group-nonstandard-style.rs:20:12
55
42
|
@@ -63,5 +50,18 @@ LL | #![warn(nonstandard_style)]
63
50
| ^^^^^^^^^^^^^^^^^
64
51
= note: #[warn(non_snake_case)] implied by #[warn(nonstandard_style)]
65
52
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
+
66
66
error: aborting due to 3 previous errors
67
67
0 commit comments