22 lines
488 B
Plaintext
22 lines
488 B
Plaintext
warning: unexpected `cfg` condition value
|
|
--> $DIR/no-values.rs:6:7
|
|
|
|
|
LL | #[cfg(feature = "foo")]
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: no expected value for `feature`
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
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
|
|
|