1 error[E0507]: cannot move out of `*u.a` which is behind a shared reference
2 --> $DIR/move-from-union-field-issue-66500.rs:14:5
5 | ^^^^ move occurs because `*u.a` has type `String`, which does not implement the `Copy` trait
7 error[E0507]: cannot move out of `*u.b` which is behind a mutable reference
8 --> $DIR/move-from-union-field-issue-66500.rs:18:5
11 | ^^^^ move occurs because `*u.b` has type `String`, which does not implement the `Copy` trait
13 error[E0507]: cannot move out of `*u.c` which is behind a raw pointer
14 --> $DIR/move-from-union-field-issue-66500.rs:22:5
17 | ^^^^ move occurs because `*u.c` has type `String`, which does not implement the `Copy` trait
19 error[E0507]: cannot move out of `*u.d` which is behind a raw pointer
20 --> $DIR/move-from-union-field-issue-66500.rs:26:5
23 | ^^^^ move occurs because `*u.d` has type `String`, which does not implement the `Copy` trait
25 error: aborting due to 4 previous errors
27 For more information about this error, try `rustc --explain E0507`.