1 error: not automatically applying `DerefMut` on `ManuallyDrop` union field
2 --> $DIR/union-deref.rs:15:14
4 LL | unsafe { u.f.0 = Vec::new() };
7 = help: writing to this reference calls the destructor for the old value
8 = help: add an explicit `*` if that is desired, or call `ptr::write` to not run the destructor
10 error: not automatically applying `DerefMut` on `ManuallyDrop` union field
11 --> $DIR/union-deref.rs:17:19
13 LL | unsafe { &mut u.f.0 };
16 = help: writing to this reference calls the destructor for the old value
17 = help: add an explicit `*` if that is desired, or call `ptr::write` to not run the destructor
19 error: not automatically applying `DerefMut` on `ManuallyDrop` union field
20 --> $DIR/union-deref.rs:19:14
22 LL | unsafe { u.f.0.push(0) };
25 = help: writing to this reference calls the destructor for the old value
26 = help: add an explicit `*` if that is desired, or call `ptr::write` to not run the destructor
28 error: not automatically applying `DerefMut` on `ManuallyDrop` union field
29 --> $DIR/union-deref.rs:23:14
31 LL | unsafe { u.f.0.0 = Vec::new() };
34 = help: writing to this reference calls the destructor for the old value
35 = help: add an explicit `*` if that is desired, or call `ptr::write` to not run the destructor
37 error: not automatically applying `DerefMut` on `ManuallyDrop` union field
38 --> $DIR/union-deref.rs:25:19
40 LL | unsafe { &mut u.f.0.0 };
43 = help: writing to this reference calls the destructor for the old value
44 = help: add an explicit `*` if that is desired, or call `ptr::write` to not run the destructor
46 error: not automatically applying `DerefMut` on `ManuallyDrop` union field
47 --> $DIR/union-deref.rs:27:14
49 LL | unsafe { u.f.0.0.push(0) };
52 = help: writing to this reference calls the destructor for the old value
53 = help: add an explicit `*` if that is desired, or call `ptr::write` to not run the destructor
55 error: aborting due to 6 previous errors