summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/concat-values.stderr
blob: dec43f5bda3bc46f9594837abe7cefab62a5dd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
warning: unexpected `cfg` condition value: (none)
  --> $DIR/concat-values.rs:5:7
   |
LL | #[cfg(my_cfg)]
   |       ^^^^^^
   |
   = note: expected values for `my_cfg` are: `bar`, `foo`
   = help: to expect this configuration use `--check-cfg=cfg(my_cfg)`
   = 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: unexpected `cfg` condition value: `unk`
  --> $DIR/concat-values.rs:9:7
   |
LL | #[cfg(my_cfg = "unk")]
   |       ^^^^^^^^^^^^^^
   |
   = note: expected values for `my_cfg` are: `bar`, `foo`
   = help: to expect this configuration use `--check-cfg=cfg(my_cfg, values("unk"))`
   = note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration

warning: 2 warnings emitted