fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0382]: use of moved value: `x` 2 --> $DIR/liveness-move-call-arg.rs:9:14 3 | 4LL | let x: Box<isize> = box 25; 5 | - move occurs because `x` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait 6LL | loop { 7LL | take(x); 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`.