about summary refs log tree commit diff
path: root/tests/ui/check-cfg/values-none.implicit.stderr
blob: 000eabdb22edecb17cf4c2b04e95ba800b15a214 (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
26
27
warning: unexpected `cfg` condition value: `too`
  --> $DIR/values-none.rs:11:7
   |
LL | #[cfg(foo = "too")]
   |       ^^^--------
   |          |
   |          help: remove the value
   |
   = note: no expected value for `foo`
   = help: to expect this configuration use `--check-cfg=cfg(foo, values("too"))`
   = 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: unexpected `cfg` condition value: `bar`
  --> $DIR/values-none.rs:16:7
   |
LL | #[cfg(foo = "bar")]
   |       ^^^--------
   |          |
   |          help: remove the value
   |
   = note: no expected value for `foo`
   = 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

warning: 2 warnings emitted