1 error[E0382]: use of moved value: `x`
2 --> $DIR/liveness-move-call-arg.rs:9:14
4 LL | let x: Box<isize> = Box::new(25);
5 | - move occurs because `x` has type `Box<isize>`, which does not implement the `Copy` trait
8 | ---- inside of this loop
10 | ^ value moved here, in previous iteration of loop
12 note: consider changing this parameter type in function `take` to borrow instead if owning the value isn't necessary
13 --> $DIR/liveness-move-call-arg.rs:1:13
15 LL | fn take(_x: Box<isize>) {}
16 | ---- ^^^^^^^^^^ this parameter takes ownership of the value
19 help: consider cloning the value if the performance cost is acceptable
24 error: aborting due to previous error
26 For more information about this error, try `rustc --explain E0382`.