1 error[E0382]: use of moved value: `x.0`
2 --> $DIR/move-out-of-tuple-field.rs:18:13
6 LL | let z = x.0; //~ ERROR use of moved value: `x.0`
7 | ^^^ value used here after move
9 = note: move occurs because `x.0` has type `std::boxed::Box<i32>`, which does not implement the `Copy` trait
11 error[E0382]: use of moved value: `x.0`
12 --> $DIR/move-out-of-tuple-field.rs:22:13
15 | --- value moved here
16 LL | let z = x.0; //~ ERROR use of moved value: `x.0`
17 | ^^^ value used here after move
19 = note: move occurs because `x.0` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0382`.