1 use core::mem::ManuallyDrop;
6 impl Drop for TypeWithDrop {
8 unreachable!("Should not get dropped");
12 let x = ManuallyDrop::new(TypeWithDrop);
16 let x: Box<ManuallyDrop<[TypeWithDrop]>> =
17 Box::new(ManuallyDrop::new([TypeWithDrop, TypeWithDrop]));