fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union 2 --> $DIR/issue-41073.rs:2:5 3 | 4LL | a: A, 5 | ^^^^ 6 | 7 = note: union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>` 8help: wrap the field type in `ManuallyDrop<...>` 9 | 10LL | a: std::mem::ManuallyDrop<A>, 11 | +++++++++++++++++++++++ + 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0740`.