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 12:09:15 -05:00
| help: there is a expected value with a similar name: `"serde"`
|
2023-04-30 08:52:44 -05:00
= note: expected values for `feature` are: `full`, `serde`
2022-09-18 10:55:36 -05: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 08:52:44 -05: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