]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-copy.stderr
Auto merge of #76345 - okready:sgx-mem-range-overflow-checks, r=joshtriplett
[rust.git] / src / test / ui / union / union-copy.stderr
1 error[E0204]: the trait `Copy` may not be implemented for this type
2   --> $DIR/union-copy.rs:12:6
3    |
4 LL |     a: std::mem::ManuallyDrop<String>
5    |     --------------------------------- this field does not implement `Copy`
6 ...
7 LL | impl Copy for W {}
8    |      ^^^^
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0204`.