1 error[E0382]: use of moved value: `y`
2 --> $DIR/liveness-move-in-loop.rs:11:25
4 LL | let y: Box<isize> = 42.into();
5 | - move occurs because `y` has type `Box<isize>`, which does not implement the `Copy` trait
8 | ^ value moved here, in previous iteration of loop
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0382`.