blob: 0a7bd81b8aaff037d03efbf85160190762d93947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
warning: unexpected `cfg` condition value: `value`
--> $DIR/exhaustive-values.rs:8:7
|
LL | #[cfg(test = "value")]
| ^^^^----------
| |
| help: remove the value
|
= note: no expected value for `test`
= help: to expect this configuration use `--check-cfg=cfg(test, values("value"))`
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: 1 warning emitted
|