1 error[E0382]: use of moved value: `x`
2 --> $DIR/moves-based-on-type-tuple.rs:4:18
4 LL | fn dup(x: Box<isize>) -> Box<(Box<isize>,Box<isize>)> {
5 | - move occurs because `x` has type `Box<isize>`, which does not implement the `Copy` trait
8 | - ^ value used here after move
12 help: consider cloning the value if the performance cost is acceptable
14 LL | Box::new((x.clone(), x))
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0382`.