fn take(_x: Box) {} fn main() { let _ = || { let x: Box = Box::new(25); loop { take(x); //~ ERROR use of moved value: `x` } }; }