diff options
Diffstat (limited to 'tests/ui/check-cfg/empty-values.stderr')
-rw-r--r-- | tests/ui/check-cfg/empty-values.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/check-cfg/empty-values.stderr b/tests/ui/check-cfg/empty-values.stderr new file mode 100644 index 000000000..a0168b2ca --- /dev/null +++ b/tests/ui/check-cfg/empty-values.stderr @@ -0,0 +1,13 @@ +warning: unexpected `cfg` condition value + --> $DIR/empty-values.rs:6:7 + | +LL | #[cfg(test = "value")] + | ^^^^---------- + | | + | help: remove the value + | + = note: no expected value for `test` + = note: `#[warn(unexpected_cfgs)]` on by default + +warning: 1 warning emitted + |