blob: 98481167a59d1c87ba7a21d706fdcb43608e946d [file] [log] [blame]
fn main() {
let x; //~ ERROR type annotations needed
match x {
(..) => {}
_ => {}
}
match 0u8 {
(..) => {} //~ ERROR mismatched types
_ => {}
}
x = 10;
}