about summary refs log tree commit diff
path: root/src/test/ui/parser/paren-after-qualified-path-in-match.rs
blob: 68b1c2baf100163bc2d632ad3b970ccac196f78d (plain)
1
2
3
4
5
6
7
fn main() {
    match 10 {
        <T as Trait>::Type(2) => (),
        //~^ ERROR unexpected `(` after qualified path
        _ => (),
    }
}