fix some uses I missed
This commit is contained in:
parent
0e0383abc6
commit
853ae8d931
5 changed files with 13 additions and 10 deletions
|
|
@ -12,5 +12,8 @@ pub fn box_uninitialized() -> Box<MaybeUninit<usize>> {
|
|||
// CHECK-NOT: alloca
|
||||
// CHECK-NOT: memcpy
|
||||
// CHECK-NOT: memset
|
||||
Box::new(MaybeUninit::uninitialized())
|
||||
Box::new(MaybeUninit::uninit())
|
||||
}
|
||||
|
||||
// FIXME: add a test for a bigger box. Currently broken, see
|
||||
// https://github.com/rust-lang/rust/issues/58201.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue