2023-10-12 16:49:56 +02:00
|
|
|
warning: unexpected `cfg` condition value: `foo`
|
2023-05-01 14:16:38 +02:00
|
|
|
--> $DIR/no-expected-values.rs:12:7
|
2022-02-20 01:26:52 +01:00
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "foo")]
|
2023-04-30 15:52:44 +02:00
|
|
|
| ^^^^^^^--------
|
|
|
|
| |
|
|
|
|
| help: remove the value
|
2022-02-20 01:26:52 +01:00
|
|
|
|
|
|
|
|
= note: no expected value for `feature`
|
2022-09-18 19:55:36 +04:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
2022-02-20 01:26:52 +01:00
|
|
|
|
2023-10-12 16:49:56 +02:00
|
|
|
warning: unexpected `cfg` condition value: `foo`
|
2023-05-01 14:16:38 +02:00
|
|
|
--> $DIR/no-expected-values.rs:16:7
|
2022-03-03 15:56:19 +01:00
|
|
|
|
|
|
|
|
LL | #[cfg(test = "foo")]
|
|
|
|
| ^^^^--------
|
|
|
|
| |
|
|
|
|
| help: remove the value
|
|
|
|
|
|
|
|
|
= note: no expected value for `test`
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
2022-02-20 01:26:52 +01:00
|
|
|
|