summaryrefslogtreecommitdiffstats
path: root/tests/ui/did_you_mean/issue-114112.rs
blob: 0fde12ecd788f2a2a37e73df3178dae287c5e266 (plain)
1
2
3
4
5
6
7
8
9
10
11
enum E<T> {
    A(T)
}

fn main() {
    match E::<i32>::A(1) {
        E<i32>::A(v) => { //~ ERROR generic args in patterns require the turbofish syntax
            println!("{v:?}");
        },
    }
}