unit cast_while; pub fn main() -> i32 { var x: i16 = 0; while x < 3 { x += 1; } let y: i32 = x as i32; if y == 3 { return 0; } return 1; }