mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +00:00

this directive prevents compiletest from adding any implicit and automatic --check-cfg arguments
15 lines
461 B
Plaintext
15 lines
461 B
Plaintext
warning: unexpected `cfg` condition value: `value`
|
|
--> $DIR/exhaustive-values.rs:9:7
|
|
|
|
|
LL | #[cfg(test = "value")]
|
|
| ^^^^----------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `test`
|
|
= 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
|
|
|