1 2 3 4 5 6
fn main() { match Some("foo") { None::<isize> => {} //~ ERROR mismatched types Some(_) => {} } }