about summary refs log tree commit diff
path: root/tests/ui/const-generics/arg-in-pat-2.rs
blob: f40437c9e78f2718ccd3fa04524753f6f48828e2 (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass
enum Generic<const N: usize> {
    Variant,
}

fn main() {
    match todo!() {
        Generic::<0usize>::Variant => todo!()
    }
}