rust/tests/ui/pattern/pattern-ident-path-generics.rs
2023-01-11 09:32:08 +00:00

7 lines
123 B
Rust

fn main() {
match Some("foo") {
None::<isize> => {} //~ ERROR mismatched types
Some(_) => {}
}
}