rust/tests/ui/const-generics/arg-in-pat-2.rs
2023-01-11 09:32:08 +00:00

11 lines
147 B
Rust

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