1 error[E0382]: borrow of moved value: `x`
2 --> $DIR/liveness-use-after-move.rs:6:20
4 LL | let x: Box<_> = 5.into();
5 | - move occurs because `x` has type `Box<i32>`, which does not implement the `Copy` trait
9 LL | println!("{}", *x);
10 | ^^ value borrowed here after move
12 = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
13 help: consider cloning the value if the performance cost is acceptable
15 LL | let y = x.clone();
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0382`.