type Box { value: ref, } pub fn main() -> Void { var x: i32 = 1 var y: i32 = 2 var box: Box = Box { value: &x } box.value = &y x = 3 }