|
1 | 1 | warning: type `snake_case` should have a camel case name such as `SnakeCase` |
2 | | - --> $DIR/lint-group-nonstandard-style.rs:26:9 |
| 2 | + --> $DIR/lint-group-nonstandard-style.rs:22:9 |
3 | 3 | | |
4 | 4 | LL | struct snake_case; //~ WARN should have a camel |
5 | 5 | | ^^^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | 7 | note: lint level defined here |
8 | | - --> $DIR/lint-group-nonstandard-style.rs:22:17 |
| 8 | + --> $DIR/lint-group-nonstandard-style.rs:18:17 |
9 | 9 | | |
10 | 10 | LL | #![warn(nonstandard_style)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^ |
12 | 12 | = note: #[warn(non_camel_case_types)] implied by #[warn(nonstandard_style)] |
13 | 13 |
|
14 | 14 | error: function `CamelCase` should have a snake case name such as `camel_case` |
15 | | - --> $DIR/lint-group-nonstandard-style.rs:8:1 |
| 15 | + --> $DIR/lint-group-nonstandard-style.rs:4:1 |
16 | 16 | | |
17 | 17 | LL | fn CamelCase() {} //~ ERROR should have a snake |
18 | 18 | | ^^^^^^^^^^^^^^^^^ |
19 | 19 | | |
20 | 20 | note: lint level defined here |
21 | | - --> $DIR/lint-group-nonstandard-style.rs:5:9 |
| 21 | + --> $DIR/lint-group-nonstandard-style.rs:1:9 |
22 | 22 | | |
23 | 23 | LL | #![deny(nonstandard_style)] |
24 | 24 | | ^^^^^^^^^^^^^^^^^ |
25 | 25 | = note: #[deny(non_snake_case)] implied by #[deny(nonstandard_style)] |
26 | 26 |
|
27 | 27 | error: function `CamelCase` should have a snake case name such as `camel_case` |
28 | | - --> $DIR/lint-group-nonstandard-style.rs:16:9 |
| 28 | + --> $DIR/lint-group-nonstandard-style.rs:12:9 |
29 | 29 | | |
30 | 30 | LL | fn CamelCase() {} //~ ERROR should have a snake |
31 | 31 | | ^^^^^^^^^^^^^^^^^ |
32 | 32 | | |
33 | 33 | note: lint level defined here |
34 | | - --> $DIR/lint-group-nonstandard-style.rs:14:14 |
| 34 | + --> $DIR/lint-group-nonstandard-style.rs:10:14 |
35 | 35 | | |
36 | 36 | LL | #[forbid(nonstandard_style)] |
37 | 37 | | ^^^^^^^^^^^^^^^^^ |
38 | 38 | = note: #[forbid(non_snake_case)] implied by #[forbid(nonstandard_style)] |
39 | 39 |
|
40 | 40 | error: static variable `bad` should have an upper case name such as `BAD` |
41 | | - --> $DIR/lint-group-nonstandard-style.rs:18:9 |
| 41 | + --> $DIR/lint-group-nonstandard-style.rs:14:9 |
42 | 42 | | |
43 | 43 | LL | static bad: isize = 1; //~ ERROR should have an upper |
44 | 44 | | ^^^^^^^^^^^^^^^^^^^^^^ |
45 | 45 | | |
46 | 46 | note: lint level defined here |
47 | | - --> $DIR/lint-group-nonstandard-style.rs:14:14 |
| 47 | + --> $DIR/lint-group-nonstandard-style.rs:10:14 |
48 | 48 | | |
49 | 49 | LL | #[forbid(nonstandard_style)] |
50 | 50 | | ^^^^^^^^^^^^^^^^^ |
51 | 51 | = note: #[forbid(non_upper_case_globals)] implied by #[forbid(nonstandard_style)] |
52 | 52 |
|
53 | 53 | warning: function `CamelCase` should have a snake case name such as `camel_case` |
54 | | - --> $DIR/lint-group-nonstandard-style.rs:24:9 |
| 54 | + --> $DIR/lint-group-nonstandard-style.rs:20:9 |
55 | 55 | | |
56 | 56 | LL | fn CamelCase() {} //~ WARN should have a snake |
57 | 57 | | ^^^^^^^^^^^^^^^^^ |
58 | 58 | | |
59 | 59 | note: lint level defined here |
60 | | - --> $DIR/lint-group-nonstandard-style.rs:22:17 |
| 60 | + --> $DIR/lint-group-nonstandard-style.rs:18:17 |
61 | 61 | | |
62 | 62 | LL | #![warn(nonstandard_style)] |
63 | 63 | | ^^^^^^^^^^^^^^^^^ |
|
0 commit comments