2022-02-19 18:26:52 -06:00
|
|
|
warning: unexpected `cfg` condition value
|
|
|
|
--> $DIR/no-values.rs:6:7
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "foo")]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: no expected value for `feature`
|
2022-09-18 10:55:36 -05:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
2022-02-19 18:26:52 -06:00
|
|
|
|
2022-03-03 08:56:19 -06:00
|
|
|
warning: unexpected `cfg` condition value
|
|
|
|
--> $DIR/no-values.rs:10:7
|
|
|
|
|
|
|
|
|
LL | #[cfg(test = "foo")]
|
|
|
|
| ^^^^--------
|
|
|
|
| |
|
|
|
|
| help: remove the value
|
|
|
|
|
|
|
|
|
= note: no expected value for `test`
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
2022-02-19 18:26:52 -06:00
|
|
|
|