@@ -15,9 +15,6 @@ fn main() -> () {
15
15
StorageLive(_2); // scope 0 at $DIR/box_expr.rs:7:13 : 7:25
16
16
_2 = Box(S); // scope 0 at $DIR/box_expr.rs:7:13 : 7:25
17
17
(*_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>))
21
18
// mir::Constant
22
19
// + span : $DIR/box_expr.rs:7:17: 7:23
23
20
// + literal : Const { ty: fn() -> S {S::new}, val: Value(Scalar(<ZST>)) }
@@ -42,9 +39,6 @@ fn main() -> () {
42
39
StorageLive(_4); // scope 1 at $DIR/box_expr.rs:8:10 : 8:11
43
40
_4 = move _1; // scope 1 at $DIR/box_expr.rs:8:10 : 8:11
44
41
_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>))
48
42
// mir::Constant
49
43
// + span : $DIR/box_expr.rs:8:5: 8:9
50
44
// + 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() -> () {
54
48
StorageDead(_4); // scope 1 at $DIR/box_expr.rs:8:11 : 8:12
55
49
StorageDead(_3); // scope 1 at $DIR/box_expr.rs:8:12 : 8:13
56
50
_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>)) }
63
51
drop(_1) -> bb8; // scope 0 at $DIR/box_expr.rs:9:1 : 9:2
64
52
}
65
53
0 commit comments