mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
517374150c
this directive prevents compiletest from adding any implicit and automatic --check-cfg arguments
14 lines
487 B
Plaintext
14 lines
487 B
Plaintext
warning: unexpected `cfg` condition value: `unk`
|
|
--> $DIR/order-independant.rs:12:7
|
|
|
|
|
LL | #[cfg(a = "unk")]
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: expected values for `a` are: (none), `b`
|
|
= help: to expect this configuration use `--check-cfg=cfg(a, values("unk"))`
|
|
= 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
|
|
|