rust/tests/ui/malformed/malformed-meta-delim.rs
2023-01-11 09:32:08 +00:00

12 lines
273 B
Rust

fn main() {}
#[allow { foo_lint } ]
//~^ ERROR wrong meta list delimiters
//~| HELP the delimiters should be `(` and `)`
fn delim_brace() {}
#[allow [ foo_lint ] ]
//~^ ERROR wrong meta list delimiters
//~| HELP the delimiters should be `(` and `)`
fn delim_bracket() {}