summaryrefslogtreecommitdiffstats
path: root/src/test/ui/check-cfg/no-values.stderr
blob: 7025b4cd7bae6921941d77052f423e0fde465a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
warning: unexpected `cfg` condition value
  --> $DIR/no-values.rs:6:7
   |
LL | #[cfg(feature = "foo")]
   |       ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unexpected_cfgs)]` on by default
   = note: no expected value for `feature`

warning: unexpected `cfg` condition value
  --> $DIR/no-values.rs:10:7
   |
LL | #[cfg(test = "foo")]
   |       ^^^^--------
   |           |
   |           help: remove the value
   |
   = note: no expected value for `test`

warning: 2 warnings emitted