Skip to content

Commit

Permalink
unconfuse @eddyb
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 6, 2018
1 parent 3dcdb8a commit d865adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcore/tests/manually_drop.rs
Expand Up @@ -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);
}

0 comments on commit d865adc

Please sign in to comment.