|
1 | | -error: feature may misspelled as features |
| 1 | +error: 'feature' may be misspelled as 'features' |
2 | 2 | --> $DIR/cfg_features.rs:4:11 |
3 | 3 | | |
4 | 4 | LL | #[cfg(features = "not-really-a-feature")] |
5 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `feature = "not-really-a-feature"` |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `feature = "not-really-a-feature"` |
6 | 6 | | |
7 | 7 | = note: `-D clippy::maybe-misused-cfg` implied by `-D warnings` |
8 | 8 | = help: to override `-D warnings` add `#[allow(clippy::maybe_misused_cfg)]` |
9 | 9 |
|
10 | | -error: feature may misspelled as features |
| 10 | +error: 'feature' may be misspelled as 'features' |
11 | 11 | --> $DIR/cfg_features.rs:9:34 |
12 | 12 | | |
13 | 13 | LL | #[cfg(all(feature = "right", features = "wrong"))] |
14 | | - | ^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong"` |
| 14 | + | ^^^^^^^^^^^^^^^^^^ help: did you mean: `feature = "wrong"` |
15 | 15 |
|
16 | | -error: feature may misspelled as features |
| 16 | +error: 'feature' may be misspelled as 'features' |
17 | 17 | --> $DIR/cfg_features.rs:13:15 |
18 | 18 | | |
19 | 19 | LL | #[cfg(all(features = "wrong1", any(feature = "right", features = "wrong2", feature, features)))] |
20 | | - | ^^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong1"` |
| 20 | + | ^^^^^^^^^^^^^^^^^^^ help: did you mean: `feature = "wrong1"` |
21 | 21 |
|
22 | | -error: feature may misspelled as features |
| 22 | +error: 'feature' may be misspelled as 'features' |
23 | 23 | --> $DIR/cfg_features.rs:13:59 |
24 | 24 | | |
25 | 25 | LL | #[cfg(all(features = "wrong1", any(feature = "right", features = "wrong2", feature, features)))] |
26 | | - | ^^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong2"` |
| 26 | + | ^^^^^^^^^^^^^^^^^^^ help: did you mean: `feature = "wrong2"` |
27 | 27 |
|
28 | 28 | error: 'test' may be misspelled as 'tests' |
29 | 29 | --> $DIR/cfg_features.rs:18:11 |
30 | 30 | | |
31 | 31 | LL | #[cfg(tests)] |
32 | | - | ^^^^^ help: do you mean: `test` |
| 32 | + | ^^^^^ help: did you mean: `test` |
33 | 33 |
|
34 | 34 | error: 'test' may be misspelled as 'Test' |
35 | 35 | --> $DIR/cfg_features.rs:21:11 |
36 | 36 | | |
37 | 37 | LL | #[cfg(Test)] |
38 | | - | ^^^^ help: do you mean: `test` |
| 38 | + | ^^^^ help: did you mean: `test` |
39 | 39 |
|
40 | 40 | error: 'test' may be misspelled as 'tests' |
41 | 41 | --> $DIR/cfg_features.rs:25:15 |
42 | 42 | | |
43 | 43 | LL | #[cfg(all(tests, Test))] |
44 | | - | ^^^^^ help: do you mean: `test` |
| 44 | + | ^^^^^ help: did you mean: `test` |
45 | 45 |
|
46 | 46 | error: 'test' may be misspelled as 'Test' |
47 | 47 | --> $DIR/cfg_features.rs:25:22 |
48 | 48 | | |
49 | 49 | LL | #[cfg(all(tests, Test))] |
50 | | - | ^^^^ help: do you mean: `test` |
| 50 | + | ^^^^ help: did you mean: `test` |
51 | 51 |
|
52 | 52 | error: aborting due to 8 previous errors |
53 | 53 |
|
0 commit comments