diff options
Diffstat (limited to 'tests/ui/check-cfg/unexpected-cfg-name.exhaustive.stderr')
-rw-r--r-- | tests/ui/check-cfg/unexpected-cfg-name.exhaustive.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/check-cfg/unexpected-cfg-name.exhaustive.stderr b/tests/ui/check-cfg/unexpected-cfg-name.exhaustive.stderr new file mode 100644 index 000000000..513f7ac7f --- /dev/null +++ b/tests/ui/check-cfg/unexpected-cfg-name.exhaustive.stderr @@ -0,0 +1,10 @@ +warning: unexpected `cfg` condition name: `widnows` + --> $DIR/unexpected-cfg-name.rs:9:7 + | +LL | #[cfg(widnows)] + | ^^^^^^^ help: there is a config with a similar name: `windows` + | + = note: `#[warn(unexpected_cfgs)]` on by default + +warning: 1 warning emitted + |