summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/pattern-ident-path-generics.rs
blob: 48c02623f28f210dd171c6d4a98a7c1b1f5aca17 (plain)
1
2
3
4
5
6
fn main() {
    match Some("foo") {
        None::<isize> => {}   //~ ERROR mismatched types
        Some(_) => {}
    }
}