|
28 | 28 | let _5: &u8; // in scope 2 at $DIR/reference_prop.rs:+7:9: +7:17
|
29 | 29 | scope 3 {
|
30 | 30 | - debug reborrow => _5; // in scope 3 at $DIR/reference_prop.rs:+7:9: +7:17
|
31 |
| -+ debug reborrow => _1; // in scope 3 at $DIR/reference_prop.rs:+7:9: +7:17 |
| 31 | ++ debug reborrow => &_2; // in scope 3 at $DIR/reference_prop.rs:+7:9: +7:17 |
32 | 32 | let _9: &i32; // in scope 3 at $DIR/reference_prop.rs:+11:14: +11:31
|
33 | 33 | let mut _22: &std::option::Option<i32>; // in scope 3 at $DIR/reference_prop.rs:+11:14: +11:31
|
34 | 34 | scope 4 {
|
|
50 | 50 | }
|
51 | 51 |
|
52 | 52 | bb0: {
|
53 |
| - StorageLive(_1); // scope 0 at $DIR/reference_prop.rs:+3:9: +3:19 |
| 53 | +- StorageLive(_1); // scope 0 at $DIR/reference_prop.rs:+3:9: +3:19 |
54 | 54 | StorageLive(_2); // scope 0 at $DIR/reference_prop.rs:+3:27: +3:31
|
55 | 55 | _2 = const 5_u8; // scope 0 at $DIR/reference_prop.rs:+3:27: +3:31
|
56 |
| - _1 = &mut _2; // scope 0 at $DIR/reference_prop.rs:+3:22: +3:31 |
| 56 | +- _1 = &mut _2; // scope 0 at $DIR/reference_prop.rs:+3:22: +3:31 |
57 | 57 | - StorageLive(_3); // scope 1 at $DIR/reference_prop.rs:+4:9: +4:14
|
58 | 58 | _23 = const _; // scope 1 at $DIR/reference_prop.rs:+4:17: +4:24
|
59 | 59 | // mir::Constant
|
60 |
| - // + span: $DIR/reference_prop.rs:463:17: 463:24 |
| 60 | + // + span: $DIR/reference_prop.rs:535:17: 535:24 |
61 | 61 | // + literal: Const { ty: &T, val: Unevaluated(debuginfo, [], Some(promoted[2])) }
|
62 | 62 | - _3 = &((*_23).0: u8); // scope 1 at $DIR/reference_prop.rs:+4:17: +4:24
|
63 | 63 | - StorageLive(_5); // scope 2 at $DIR/reference_prop.rs:+7:9: +7:17
|
|
73 | 73 | - StorageLive(_9); // scope 3 at $DIR/reference_prop.rs:+11:14: +11:31
|
74 | 74 | _22 = const _; // scope 3 at $DIR/reference_prop.rs:+11:14: +11:31
|
75 | 75 | // mir::Constant
|
76 |
| - // + span: $DIR/reference_prop.rs:470:14: 470:31 |
| 76 | + // + span: $DIR/reference_prop.rs:542:14: 542:31 |
77 | 77 | // + literal: Const { ty: &Option<i32>, val: Unevaluated(debuginfo, [], Some(promoted[1])) }
|
78 | 78 | - _9 = &(((*_22) as Some).0: i32); // scope 3 at $DIR/reference_prop.rs:+11:14: +11:31
|
79 | 79 | - _6 = const (); // scope 4 at $DIR/reference_prop.rs:+11:36: +11:38
|
|
98 | 98 | StorageLive(_12); // scope 5 at $DIR/reference_prop.rs:+16:83: +16:90
|
99 | 99 | _21 = const _; // scope 5 at $DIR/reference_prop.rs:+16:83: +16:90
|
100 | 100 | // mir::Constant
|
101 |
| - // + span: $DIR/reference_prop.rs:475:83: 475:90 |
| 101 | + // + span: $DIR/reference_prop.rs:547:83: 547:90 |
102 | 102 | // + literal: Const { ty: &[i32; 10], val: Unevaluated(debuginfo, [], Some(promoted[0])) }
|
103 | 103 | _12 = &(*_21); // scope 5 at $DIR/reference_prop.rs:+16:83: +16:90
|
104 | 104 | StorageLive(_14); // scope 5 at $DIR/reference_prop.rs:+16:91: +16:93
|
105 | 105 | _14 = RangeFull; // scope 5 at $DIR/reference_prop.rs:+16:91: +16:93
|
106 | 106 | _11 = <[i32; 10] as Index<RangeFull>>::index(move _12, move _14) -> bb5; // scope 5 at $DIR/reference_prop.rs:+16:83: +16:94
|
107 | 107 | // mir::Constant
|
108 |
| - // + span: $DIR/reference_prop.rs:475:83: 475:94 |
| 108 | + // + span: $DIR/reference_prop.rs:547:83: 547:94 |
109 | 109 | // + literal: Const { ty: for<'a> fn(&'a [i32; 10], RangeFull) -> &'a <[i32; 10] as Index<RangeFull>>::Output {<[i32; 10] as Index<RangeFull>>::index}, val: Value(<ZST>) }
|
110 | 110 | }
|
111 | 111 |
|
|
142 | 142 | - StorageDead(_5); // scope 2 at $DIR/reference_prop.rs:+18:1: +18:2
|
143 | 143 | - StorageDead(_3); // scope 1 at $DIR/reference_prop.rs:+18:1: +18:2
|
144 | 144 | StorageDead(_2); // scope 0 at $DIR/reference_prop.rs:+18:1: +18:2
|
145 |
| - StorageDead(_1); // scope 0 at $DIR/reference_prop.rs:+18:1: +18:2 |
| 145 | +- StorageDead(_1); // scope 0 at $DIR/reference_prop.rs:+18:1: +18:2 |
146 | 146 | StorageDead(_11); // scope 0 at $DIR/reference_prop.rs:+18:1: +18:2
|
147 | 147 | StorageDead(_10); // scope 0 at $DIR/reference_prop.rs:+18:1: +18:2
|
148 | 148 | return; // scope 0 at $DIR/reference_prop.rs:+18:2: +18:2
|
|
0 commit comments