rust/tests/ui/check-cfg/unexpected-cfg-name.stderr

13 lines
481 B
Plaintext

warning: unexpected `cfg` condition name: `widnows`
--> $DIR/unexpected-cfg-name.rs:7:7
|
LL | #[cfg(widnows)]
| ^^^^^^^ help: there is a config with a similar name: `windows`
|
= help: to expect this configuration use `--check-cfg=cfg(widnows)`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: 1 warning emitted