@@ -6,46 +6,31 @@ fn b(_1: &mut Box<T>) -> &mut T {
6
6
let mut _2 : &mut T; // in scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
7
7
let mut _3 : &mut T; // in scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
8
8
let mut _4 : &mut std::boxed::Box<T>; // in scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
9
- let mut _5 : &mut T; // in scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
10
- let mut _6 : &mut T; // in scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
11
9
scope 1 (inlined <Box<T> as AsMut<T>>::as_mut) { // at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
12
10
debug self => _4; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
13
- let mut _7 : &mut T; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
14
- let mut _8 : &mut T; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
15
- let mut _9 : &mut std::boxed::Box<T>; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
16
- let mut _10 : std::boxed::Box<T>; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
17
- let mut _11 : &mut T; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
18
- let mut _12 : &mut T; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
11
+ let mut _5 : &mut T; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
12
+ let mut _6 : &mut T; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
13
+ let mut _7 : std::boxed::Box<T>; // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
19
14
}
20
15
21
16
bb0 : {
22
17
StorageLive(_2); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
23
18
StorageLive(_3); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
24
19
StorageLive(_4); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
25
20
_4 = &mut (*_1); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
21
+ StorageLive(_5); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
22
+ StorageLive(_6); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
26
23
StorageLive(_7); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
27
- StorageLive(_8); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
28
- StorageLive(_9); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
29
- _9 = move _4; // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
30
- _8 = &mut (*(*_9)); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
31
- StorageLive(_10); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
32
- _10 = move (*_4); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
33
- _8 = &mut (*_10); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
34
- StorageLive(_11); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
35
- _11 = move _8; // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
36
- _7 = &mut (*_11); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
37
- StorageLive(_12); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
38
- _12 = move _7; // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
39
- _3 = &mut (*_12); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
40
- StorageDead(_8); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
41
- StorageDead(_7); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
42
- StorageLive(_5); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
43
- _5 = move _3; // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
44
- _2 = &mut (*_5); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
24
+ _7 = move (*_4); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
25
+ _6 = &mut (*_7); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
26
+ _6 = &mut (*_7); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
27
+ _5 = &mut (*_6); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
28
+ _3 = &mut (*_5); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
29
+ StorageDead(_6); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
30
+ StorageDead(_5); // scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
31
+ _2 = &mut (*_3); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
45
32
StorageDead(_4); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:14 : 8:15
46
- StorageLive(_6); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
47
- _6 = move _2; // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
48
- _0 = &mut (*_6); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
33
+ _0 = &mut (*_2); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5 : 8:15
49
34
StorageDead(_3); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:9:1 : 9:2
50
35
StorageDead(_2); // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:9:1 : 9:2
51
36
return; // scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:9:2 : 9:2
0 commit comments