1 error[E0382]: use of moved value: `x`
2 --> $DIR/moves-based-on-type-tuple.rs:4:13
4 LL | fn dup(x: Box<isize>) -> Box<(Box<isize>,Box<isize>)> {
5 | - move occurs because `x` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
7 | - ^ value used here after move
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0382`.