mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
24 lines
582 B
Plaintext
24 lines
582 B
Plaintext
warning: unexpected `cfg` condition value: `foo`
|
|
--> $DIR/no-expected-values.rs:12:7
|
|
|
|
|
LL | #[cfg(feature = "foo")]
|
|
| ^^^^^^^--------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `feature`
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
warning: unexpected `cfg` condition value: `foo`
|
|
--> $DIR/no-expected-values.rs:16:7
|
|
|
|
|
LL | #[cfg(test = "foo")]
|
|
| ^^^^--------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `test`
|
|
|
|
warning: 2 warnings emitted
|
|
|