LL | drop(*x.b);
| ^^^^ value used here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0382]: use of moved value: `x.b`
--> $DIR/borrowck-field-sensitivity.rs:14:10
LL | drop(*x.b);
| ^^^^ value used here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0382]: borrow of moved value: `x.b`
--> $DIR/borrowck-field-sensitivity.rs:20:13
LL | let p = &x.b;
| ^^^^ value borrowed here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0382]: borrow of moved value: `x.b`
--> $DIR/borrowck-field-sensitivity.rs:27:13
LL | let p = &x.b;
| ^^^^ value borrowed here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0505]: cannot move out of `x.b` because it is borrowed
--> $DIR/borrowck-field-sensitivity.rs:34:10
LL | drop(x.b);
| ^^^ value used here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0382]: use of moved value: `x.b`
--> $DIR/borrowck-field-sensitivity.rs:62:10
LL | drop(x.b);
| ^^^ value used here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0382]: use of moved value: `x.b`
--> $DIR/borrowck-field-sensitivity.rs:68:14
LL | let _z = A { a: 3, .. x };
| ^^^^^^^^^^^^^^^^ value used here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0382]: use of moved value: `x.b`
--> $DIR/borrowck-field-sensitivity.rs:74:14
LL | let _z = A { a: 4, .. x };
| ^^^^^^^^^^^^^^^^ value used here after move
|
- = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+ = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
error[E0381]: assign to part of possibly-uninitialized variable: `x`
--> $DIR/borrowck-field-sensitivity.rs:81:5