rustc/tests/ui/const-generics/arg-in-pat-2.rs
2023-08-02 10:33:26 +02:00

11 lines
147 B
Rust

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