1 error[E0740]: unions may not contain fields that need dropping
2 --> $DIR/union-with-drop-fields.rs:11:5
7 help: wrap the type with `std::mem::ManuallyDrop` and ensure it is manually dropped
9 LL | a: std::mem::ManuallyDrop<String>,
10 | +++++++++++++++++++++++ +
12 error[E0740]: unions may not contain fields that need dropping
13 --> $DIR/union-with-drop-fields.rs:19:5
18 help: wrap the type with `std::mem::ManuallyDrop` and ensure it is manually dropped
20 LL | a: std::mem::ManuallyDrop<S>,
21 | +++++++++++++++++++++++ +
23 error[E0740]: unions may not contain fields that need dropping
24 --> $DIR/union-with-drop-fields.rs:24:5
29 help: wrap the type with `std::mem::ManuallyDrop` and ensure it is manually dropped
31 LL | a: std::mem::ManuallyDrop<T>,
32 | +++++++++++++++++++++++ +
34 error: aborting due to 3 previous errors
36 For more information about this error, try `rustc --explain E0740`.