summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/no-expected-values.simple.stderr
blob: 5d261b2a5e63e5704d42bcf3fcf19833490d9efc (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: `foo`
  --> $DIR/no-expected-values.rs:12:7
   |
LL | #[cfg(feature = "foo")]
   |       ^^^^^^^--------
   |              |
   |              help: remove the value
   |
   = note: no expected value for `feature`
   = note: `#[warn(unexpected_cfgs)]` on by default

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

warning: 2 warnings emitted