rust/tests/ui/parser/pat-lt-bracket-2.rs

5 lines
85 B
Rust

fn a(B<) {}
//~^ error: expected one of `:`, `@`, or `|`, found `<`
fn main() {}