//# publish module 0x1.Tester { t() { let x: u64; let y: u64; let r1: &mut u64; label b0: x = 0; y = 0; r1 = Self.foo(&mut x, &mut y); // cannot copy, data is "owned" by r1. Would violate ref trans _ = copy(x); return; } foo(r: &mut u64, r2: &mut u64): &mut u64 { label b0: return move(r2); } }