| error[E0382]: assign of moved value: `t` |
| --> $DIR/borrowck-partial-reinit-1.rs:37:5 |
| | |
| LL | drop(t); |
| | - value moved here |
| LL | t.b = Some(u); |
| | ^^^ value assigned here after move |
| | |
| = note: move occurs because `t` has type `Test2`, which does not implement the `Copy` trait |
| |
| error[E0382]: assign of moved value: `t` |
| --> $DIR/borrowck-partial-reinit-1.rs:43:5 |
| | |
| LL | drop(t); |
| | - value moved here |
| LL | t.0 = Some(u); |
| | ^^^ value assigned here after move |
| | |
| = note: move occurs because `t` has type `Test3`, which does not implement the `Copy` trait |
| |
| error: aborting due to 2 previous errors |
| |
| For more information about this error, try `rustc --explain E0382`. |