@@ -15,9 +15,6 @@ fn main() -> () {
1515 StorageLive(_2); // scope 0 at $DIR/box_expr.rs:7:13 : 7:25
1616 _2 = Box(S); // scope 0 at $DIR/box_expr.rs:7:13 : 7:25
1717 (*_2) = const S::new() -> [return : bb2, unwind: bb3]; // scope 0 at $DIR/box_expr.rs:7:17: 7:25
18- // ty::Const
19- // + ty : fn() -> S {S::new}
20- // + val : Value(Scalar(<ZST>))
2118 // mir::Constant
2219 // + span : $DIR/box_expr.rs:7:17: 7:23
2320 // + literal : Const { ty: fn() -> S {S::new}, val: Value(Scalar(<ZST>)) }
@@ -42,9 +39,6 @@ fn main() -> () {
4239 StorageLive(_4); // scope 1 at $DIR/box_expr.rs:8:10 : 8:11
4340 _4 = move _1; // scope 1 at $DIR/box_expr.rs:8:10 : 8:11
4441 _3 = const std::mem::drop::<std::boxed::Box<S>>(move _4) -> [return : bb5, unwind: bb7]; // scope 1 at $DIR/box_expr.rs:8:5: 8:12
45- // ty::Const
46- // + ty : fn(std::boxed::Box<S>) {std::mem::drop::<std::boxed::Box<S>>}
47- // + val : Value(Scalar(<ZST>))
4842 // mir::Constant
4943 // + span : $DIR/box_expr.rs:8:5: 8:9
5044 // + literal : Const { ty: fn(std::boxed::Box<S>) {std::mem::drop::<std::boxed::Box<S>>}, val: Value(Scalar(<ZST>)) }
@@ -54,12 +48,6 @@ fn main() -> () {
5448 StorageDead(_4); // scope 1 at $DIR/box_expr.rs:8:11 : 8:12
5549 StorageDead(_3); // scope 1 at $DIR/box_expr.rs:8:12 : 8:13
5650 _0 = const (); // scope 0 at $DIR/box_expr.rs:6:11 : 9:2
57- // ty::Const
58- // + ty : ()
59- // + val : Value(Scalar(<ZST>))
60- // mir::Constant
61- // + span : $DIR/box_expr.rs:6:11: 9:2
62- // + literal : Const { ty: (), val: Value(Scalar(<ZST>)) }
6351 drop(_1) -> bb8; // scope 0 at $DIR/box_expr.rs:9:1 : 9:2
6452 }
6553
0 commit comments