rust/tests/ui/const-generics/arg-in-pat-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
148 B
Rust
Raw Normal View History

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