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