]> git.lizzy.rs Git - rust.git/blob - tests/ui/pattern/pattern-ident-path-generics.rs
Rollup merge of #106973 - oli-obk:tait_ice_closure_in_impl_header, r=lcnr
[rust.git] / tests / ui / pattern / pattern-ident-path-generics.rs
1 fn main() {
2     match Some("foo") {
3         None::<isize> => {}   //~ ERROR mismatched types
4         Some(_) => {}
5     }
6 }