foo() -> i321 fn foo() -> i32 { 2 4 3 } main()4 fn main() { 5 let x: u16 = foo(); 6 //~^ ERROR mismatched types 7 let y: i64 = x + x; 8 //~^ ERROR mismatched types 9 let z: i32 = x + x; 10 //~^ ERROR mismatched types 11 } 12