rust/tests/ui/conditional-compilation/cfg-arg-invalid-9.rs
2025-04-13 21:48:53 +03:00

6 lines
271 B
Rust

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