about summary refs log tree commit diff
path: root/tests/ui/check-cfg/values-none.simple.stderr
blob: b8f0b02b4c56379bf940cb2be8c428152892580d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
warning: unexpected `cfg` condition value: `bar`
  --> $DIR/values-none.rs:16:7
   |
LL | #[cfg(foo = "bar")]
   |       ^^^^^^^^^^^
   |
   = note: expected values for `foo` are: (none), `too`
   = help: to expect this configuration use `--check-cfg=cfg(foo, values("bar"))`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: 1 warning emitted