1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
fn main() { let x; //~ ERROR type annotations needed match x { (..) => {} _ => {} } match 0u8 { (..) => {} //~ ERROR mismatched types _ => {} } x = 10; }