]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/union/union-copy.stderr
Rollup merge of #102412 - joboet:dont_panic, r=m-ou-se
[rust.git] / src / test / ui / union / union-copy.stderr
index 8ecdafdde204553234cd9748e9d4e3a361aefa05..53ee4dd2e5bdbab1fb15ebc3c13887c00cc2ca58 100644 (file)
@@ -1,11 +1,11 @@
 error[E0204]: the trait `Copy` may not be implemented for this type
-  --> $DIR/union-copy.rs:12:6
+  --> $DIR/union-copy.rs:12:15
    |
 LL |     a: std::mem::ManuallyDrop<String>
    |     --------------------------------- this field does not implement `Copy`
 ...
 LL | impl Copy for W {}
-   |      ^^^^
+   |               ^
    |
 note: the `Copy` impl for `ManuallyDrop<String>` requires that `String: Copy`
   --> $DIR/union-copy.rs:8:8