rust/tests/ui/conditional-compilation/cfg-arg-invalid-1.rs
2024-02-16 20:02:50 +00:00

4 lines
237 B
Rust

//@ compile-flags: --error-format=human --cfg a(b=c)
//@ error-pattern: invalid `--cfg` argument: `a(b=c)` (expected `key` or `key="value"`, ensure escaping is appropriate for your shell, try 'key="value"' or key=\"value\")
fn main() {}