rust/tests/ui/conditional-compilation/cfg-arg-invalid-2.rs

4 lines
150 B
Rust

//@ compile-flags: --error-format=human --cfg a{b}
//@ error-pattern: invalid `--cfg` argument: `a{b}` (expected `key` or `key="value"`)
fn main() {}