fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0382]: use of moved value: `y` 2 --> $DIR/liveness-move-in-loop.rs:11:25 3 | 4LL | let y: Box<isize> = box 42; 5 | - move occurs because `y` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait 6... 7LL | x = y; 8 | ^ value moved here, in previous iteration of loop 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0382`.