]> git.lizzy.rs Git - rust.git/blob - tests/ui/pattern/pattern-ident-path-generics.rs
Rollup merge of #106931 - Ezrashaw:docs-e0208, r=compiler-errors
[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 }