2023-07-02 12:35:19 +00:00
|
|
|
error: feature may misspelled as features
|
|
|
|
--> $DIR/cfg_features.rs:4:11
|
|
|
|
|
|
|
|
|
LL | #[cfg(features = "not-really-a-feature")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `feature = "not-really-a-feature"`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::maybe-misused-cfg` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::maybe_misused_cfg)]`
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
error: feature may misspelled as features
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/cfg_features.rs:9:34
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(feature = "right", features = "wrong"))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong"`
|
|
|
|
|
|
|
|
error: feature may misspelled as features
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/cfg_features.rs:13:15
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(features = "wrong1", any(feature = "right", features = "wrong2", feature, features)))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong1"`
|
|
|
|
|
|
|
|
error: feature may misspelled as features
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/cfg_features.rs:13:59
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(features = "wrong1", any(feature = "right", features = "wrong2", feature, features)))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong2"`
|
|
|
|
|
2023-11-16 10:32:26 +00:00
|
|
|
error: 'test' may be misspelled as 'tests'
|
|
|
|
--> $DIR/cfg_features.rs:18:11
|
|
|
|
|
|
|
|
|
LL | #[cfg(tests)]
|
|
|
|
| ^^^^^ help: do you mean: `test`
|
|
|
|
|
|
|
|
error: 'test' may be misspelled as 'Test'
|
|
|
|
--> $DIR/cfg_features.rs:21:11
|
|
|
|
|
|
|
|
|
LL | #[cfg(Test)]
|
|
|
|
| ^^^^ help: do you mean: `test`
|
|
|
|
|
|
|
|
error: 'test' may be misspelled as 'tests'
|
|
|
|
--> $DIR/cfg_features.rs:25:15
|
|
|
|
|
|
|
|
|
LL | #[cfg(all(tests, Test))]
|
|
|
|
| ^^^^^ help: do you mean: `test`
|
|
|
|
|
|
|
|
error: 'test' may be misspelled as 'Test'
|
|
|
|
--> $DIR/cfg_features.rs:25:22
|
|
|
|
|
|
|
|
|
LL | #[cfg(all(tests, Test))]
|
|
|
|
| ^^^^ help: do you mean: `test`
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
2023-07-02 12:35:19 +00:00
|
|
|
|