rust/src/test/ui/conditional-compilation/cfg-arg-invalid-6.rs
Mark Rousskov a678e31911 Hide diagnostics emitted during --cfg parsing
The early error is more than sufficient for fixing the problem.
2019-09-15 17:39:38 -04:00

4 lines
123 B
Rust

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