summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/arg-in-pat-2.rs
blob: dc9e722eda84c94783843c551be481897ba71138 (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!()
    }
}