unconfuse @eddyb

This commit is contained in:
Ralf Jung 2018-08-06 15:52:36 +02:00
parent 3dcdb8a83e
commit d865adcf1e

View File

@ -23,6 +23,7 @@ fn smoke() {
drop(x);
// also test unsizing
let x : Box<ManuallyDrop<[TypeWithDrop]>> = Box::new(ManuallyDrop::new([TypeWithDrop]));
let x : Box<ManuallyDrop<[TypeWithDrop]>> =
Box::new(ManuallyDrop::new([TypeWithDrop, TypeWithDrop]));
drop(x);
}