rust/src/test/ui/parser/paren-after-qualified-path-in-match.rs

8 lines
144 B
Rust

fn main() {
match 10 {
<T as Trait>::Type(2) => (),
//~^ ERROR unexpected `(` after qualified path
_ => (),
}
}