|
10 | 10 | let mut _5: std::boxed::Box<std::vec::Vec<u32>>; // in scope 0 at $DIR/inline-into-box-place.rs:+1:29: +1:43 |
11 | 11 | let mut _6: (); // in scope 0 at $DIR/inline-into-box-place.rs:+1:42: +1:43 |
12 | 12 | let mut _7: *const std::vec::Vec<u32>; // in scope 0 at $DIR/inline-into-box-place.rs:+1:29: +1:43 |
13 | | - let mut _8: *const std::vec::Vec<u32>; // in scope 0 at $DIR/inline-into-box-place.rs:+1:29: +1:43 |
14 | | -+ let mut _9: &mut std::vec::Vec<u32>; // in scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
| 13 | ++ let mut _8: &mut std::vec::Vec<u32>; // in scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
15 | 14 | scope 1 { |
16 | 15 | debug _x => _1; // in scope 1 at $DIR/inline-into-box-place.rs:+1:9: +1:11 |
17 | 16 | } |
18 | 17 | scope 2 { |
19 | 18 | } |
20 | 19 | + scope 3 (inlined Vec::<u32>::new) { // at $DIR/inline-into-box-place.rs:8:33: 8:43 |
21 | | -+ let mut _10: alloc::raw_vec::RawVec<u32>; // in scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 20 | ++ let mut _9: alloc::raw_vec::RawVec<u32>; // in scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
22 | 21 | + } |
23 | 22 |
|
24 | 23 | bb0: { |
|
37 | 36 | StorageLive(_7); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
38 | 37 | _7 = (((_5.0: std::ptr::Unique<std::vec::Vec<u32>>).0: std::ptr::NonNull<std::vec::Vec<u32>>).0: *const std::vec::Vec<u32>); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
39 | 38 | - (*_7) = Vec::<u32>::new() -> [return: bb2, unwind: bb4]; // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
40 | | -+ StorageLive(_9); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
41 | | -+ _9 = &mut (*_7); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
42 | | -+ StorageLive(_10); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
43 | | -+ _10 = const alloc::raw_vec::RawVec::<u32>::NEW; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 39 | ++ StorageLive(_8); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
| 40 | ++ _8 = &mut (*_7); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
| 41 | ++ StorageLive(_9); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 42 | ++ _9 = const alloc::raw_vec::RawVec::<u32>::NEW; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
44 | 43 | // mir::Constant |
45 | 44 | - // + span: $DIR/inline-into-box-place.rs:8:33: 8:41 |
46 | 45 | - // + user_ty: UserType(1) |
|
51 | 50 | + // + span: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
52 | 51 | + // + user_ty: UserType(0) |
53 | 52 | + // + literal: Const { ty: alloc::raw_vec::RawVec<u32>, val: Unevaluated(alloc::raw_vec::RawVec::<T>::NEW, [u32], None) } |
54 | | -+ Deinit((*_9)); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
55 | | -+ ((*_9).0: alloc::raw_vec::RawVec<u32>) = move _10; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
56 | | -+ ((*_9).1: usize) = const 0_usize; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
57 | | -+ StorageDead(_10); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
58 | | -+ StorageDead(_9); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
| 53 | ++ Deinit((*_8)); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 54 | ++ ((*_8).0: alloc::raw_vec::RawVec<u32>) = move _9; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 55 | ++ ((*_8).1: usize) = const 0_usize; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 56 | ++ StorageDead(_9); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 57 | ++ StorageDead(_8); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
59 | 58 | StorageDead(_7); // scope 0 at $DIR/inline-into-box-place.rs:+1:33: +1:43 |
60 | 59 | _1 = move _5; // scope 0 at $DIR/inline-into-box-place.rs:+1:29: +1:43 |
61 | 60 | StorageDead(_5); // scope 0 at $DIR/inline-into-box-place.rs:+1:42: +1:43 |
|
0 commit comments