We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dcdb8a commit d865adcCopy full SHA for d865adc
src/libcore/tests/manually_drop.rs
@@ -23,6 +23,7 @@ fn smoke() {
23
drop(x);
24
25
// also test unsizing
26
- let x : Box<ManuallyDrop<[TypeWithDrop]>> = Box::new(ManuallyDrop::new([TypeWithDrop]));
+ let x : Box<ManuallyDrop<[TypeWithDrop]>> =
27
+ Box::new(ManuallyDrop::new([TypeWithDrop, TypeWithDrop]));
28
29
}
0 commit comments