rust/tests/ui/conditional-compilation/cfg-arg-invalid-9.rs
2023-01-11 09:32:08 +00:00

5 lines
275 B
Rust

// Test for missing quotes around value, issue #66450.
// compile-flags: --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() {}