summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/invalid-cfg-value.stderr
blob: 776d264a7adcb949f04b6d9a9fddb8debeff5514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
warning: unexpected `cfg` condition value
  --> $DIR/invalid-cfg-value.rs:7:7
   |
LL | #[cfg(feature = "sedre")]
   |       ^^^^^^^^^^-------
   |                 |
   |                 help: there is a expected value with a similar name: `"serde"`
   |
   = note: expected values for `feature` are: `full`, `serde`
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value
  --> $DIR/invalid-cfg-value.rs:14:7
   |
LL | #[cfg(feature = "rand")]
   |       ^^^^^^^^^^^^^^^^
   |
   = 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