rust/tests/ui/check-cfg/invalid-cfg-value.stderr

26 lines
766 B
Plaintext
Raw Normal View History

warning: unexpected `cfg` condition value
--> $DIR/invalid-cfg-value.rs:7:7
|
LL | #[cfg(feature = "sedre")]
| ^^^^^^^^^^-------
| |
2023-04-30 19:09:15 +02:00
| help: there is a expected value with a similar name: `"serde"`
|
2023-04-30 15:52:44 +02:00
= note: expected values for `feature` are: `full`, `serde`
2022-09-18 19:55:36 +04:00
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value
--> $DIR/invalid-cfg-value.rs:14:7
|
LL | #[cfg(feature = "rand")]
| ^^^^^^^^^^^^^^^^
|
2023-04-30 15:52:44 +02:00
= note: expected values for `feature` are: `full`, `serde`
warning: unexpected condition value `rand` for condition name `feature`
|
= help: was set with `--cfg` but isn't in the `--check-cfg` expected values
warning: 3 warnings emitted