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