mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
517374150c
this directive prevents compiletest from adding any implicit and automatic --check-cfg arguments
13 lines
481 B
Plaintext
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
|
|
|