mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 13:24:22 +00:00

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
|
|
|