@@ -8,7 +8,7 @@ note: lint level defined here
8
8
--> $DIR/lint-group-style.rs:11:9
9
9
|
10
10
11 | #![deny(nonstandard_style)]
11
- | ^^^^^^^^^
11
+ | ^^^^^^^^^^^^^^^^^
12
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`
@@ -21,7 +21,7 @@ note: lint level defined here
21
21
--> $DIR/lint-group-style.rs:20:14
22
22
|
23
23
20 | #[forbid(nonstandard_style)]
24
- | ^^^^^^^^^
24
+ | ^^^^^^^^^^^^^^^^^
25
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`
@@ -34,7 +34,7 @@ note: lint level defined here
34
34
--> $DIR/lint-group-style.rs:20:14
35
35
|
36
36
20 | #[forbid(nonstandard_style)]
37
- | ^^^^^^^^^
37
+ | ^^^^^^^^^^^^^^^^^
38
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`
@@ -47,7 +47,7 @@ note: lint level defined here
47
47
--> $DIR/lint-group-style.rs:28:17
48
48
|
49
49
28 | #![warn(nonstandard_style)]
50
- | ^^^^^^^^^
50
+ | ^^^^^^^^^^^^^^^^^
51
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`
@@ -60,7 +60,7 @@ note: lint level defined here
60
60
--> $DIR/lint-group-style.rs:28:17
61
61
|
62
62
28 | #![warn(nonstandard_style)]
63
- | ^^^^^^^^^
63
+ | ^^^^^^^^^^^^^^^^^
64
64
= note: #[warn(non_camel_case_types)] implied by #[warn(nonstandard_style)]
65
65
66
66
error: aborting due to 3 previous errors
0 commit comments