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

5 lines
298 B
Rust

// Test for missing quotes around value, issue #66450.
//@ compile-flags: --error-format=human --cfg key=value
//@ error-pattern: invalid `--cfg` argument: `key=value` (expected `key` or `key="value"`, ensure escaping is appropriate for your shell, try 'key="value"' or key=\"value\")
fn main() {}