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