fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0204]: the trait `Copy` cannot be implemented for this type 2 --> $DIR/union-copy.rs:12:15 3 | 4LL | a: std::mem::ManuallyDrop<String> 5 | --------------------------------- this field does not implement `Copy` 6... 7LL | impl Copy for W {} 8 | ^ 9 | 10note: the `Copy` impl for `ManuallyDrop<String>` requires that `String: Copy` 11 --> $DIR/union-copy.rs:8:8 12 | 13LL | a: std::mem::ManuallyDrop<String> 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0204`.