rust/tests/ui/const-generics/arg-in-pat-2.rs
2024-02-16 20:02:50 +00:00

11 lines
148 B
Rust

//@ check-pass
enum Generic<const N: usize> {
Variant,
}
fn main() {
match todo!() {
Generic::<0usize>::Variant => todo!()
}
}