Skip to content

Commit d5720bb

Browse files
committed
Fix mir-opt output for 32 bit
1 parent f288cd2 commit d5720bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/mir-opt/inline/inline_into_box_place.main.Inline.32bit.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
- }
5454
-
5555
- bb4 (cleanup): {
56-
- _3 = alloc::alloc::box_free::<Vec<u32>>(move (_2.0: std::ptr::Unique<std::vec::Vec<u32>>)) -> bb3; // scope 0 at $DIR/inline-into-box-place.rs:8:42: 8:43
56+
- _3 = alloc::alloc::box_free::<Vec<u32>, std::alloc::Global>(move (_2.0: std::ptr::Unique<std::vec::Vec<u32>>), move (_2.1: std::alloc::Global)) -> bb3; // scope 0 at $DIR/inline-into-box-place.rs:8:42: 8:43
5757
- // mir::Constant
5858
- // + span: $DIR/inline-into-box-place.rs:8:42: 8:43
59-
- // + literal: Const { ty: unsafe fn(std::ptr::Unique<std::vec::Vec<u32>>) {alloc::alloc::box_free::<std::vec::Vec<u32>>}, val: Value(Scalar(<ZST>)) }
59+
- // + literal: Const { ty: unsafe fn(std::ptr::Unique<std::vec::Vec<u32>>, std::alloc::Global) {alloc::alloc::box_free::<std::vec::Vec<u32>, std::alloc::Global>}, val: Value(Scalar(<ZST>)) }
6060
}
6161
}
6262

0 commit comments

Comments
 (0)