]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-copy.stderr
Auto merge of #74194 - mbrubeck:slice-eq, r=sfackler
[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:14:6
3    |
4 LL |     a: 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`.