unconfuse @eddyb
This commit is contained in:
parent
3dcdb8a83e
commit
d865adcf1e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user