]> git.lizzy.rs Git - rust.git/blob - src/test/ui/check-cfg/no-values.stderr
Rollup merge of #105674 - estebank:iterator-chains, r=oli-obk
[rust.git] / src / test / ui / check-cfg / no-values.stderr
1 warning: unexpected `cfg` condition value
2   --> $DIR/no-values.rs:6:7
3    |
4 LL | #[cfg(feature = "foo")]
5    |       ^^^^^^^^^^^^^^^
6    |
7    = note: no expected value for `feature`
8    = note: `#[warn(unexpected_cfgs)]` on by default
9
10 warning: unexpected `cfg` condition value
11   --> $DIR/no-values.rs:10:7
12    |
13 LL | #[cfg(test = "foo")]
14    |       ^^^^--------
15    |           |
16    |           help: remove the value
17    |
18    = note: no expected value for `test`
19
20 warning: 2 warnings emitted
21