rust/tests/ui/check-cfg/exhaustive-values.empty_cfg.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
569 B
Plaintext
Raw Normal View History

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
2022-09-18 10:55:36 -05:00
= note: `#[warn(unexpected_cfgs)]` on by default
warning: 1 warning emitted