|
4 | 4 | fn main() -> () {
|
5 | 5 | let mut _0: (); // return place in scope 0 at $DIR/remove_storage_markers.rs:6:11: 6:11
|
6 | 6 | let mut _1: i32; // in scope 0 at $DIR/remove_storage_markers.rs:7:9: 7:16
|
7 |
| - let mut _2: std::ops::Range<i32>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
| 7 | + let mut _2: std::iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
8 | 8 | let mut _3: std::ops::Range<i32>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
9 | 9 | let mut _5: (); // in scope 0 at $DIR/remove_storage_markers.rs:6:1: 11:2
|
10 | 10 | let _6: (); // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
11 | 11 | let mut _7: std::option::Option<i32>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
12 |
| - let mut _8: &mut std::ops::Range<i32>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
13 |
| - let mut _9: &mut std::ops::Range<i32>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
| 12 | + let mut _8: &mut std::iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
| 13 | + let mut _9: &mut std::iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>>; // in scope 0 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
14 | 14 | let mut _10: isize; // in scope 0 at $DIR/remove_storage_markers.rs:8:5: 10:6
|
15 | 15 | let mut _11: !; // in scope 0 at $DIR/remove_storage_markers.rs:8:5: 10:6
|
16 | 16 | let mut _13: i32; // in scope 0 at $DIR/remove_storage_markers.rs:9:16: 9:17
|
17 | 17 | scope 1 {
|
18 | 18 | debug sum => _1; // in scope 1 at $DIR/remove_storage_markers.rs:7:9: 7:16
|
19 |
| - let mut _4: std::ops::Range<i32>; // in scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
| 19 | + let mut _4: std::iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>>; // in scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19 |
20 | 20 | scope 2 {
|
21 | 21 | debug iter => _4; // in scope 2 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
22 | 22 | let _12: i32; // in scope 2 at $DIR/remove_storage_markers.rs:8:9: 8:10
|
23 | 23 | scope 3 {
|
24 | 24 | debug i => _12; // in scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
|
25 | 25 | }
|
26 |
| - scope 5 (inlined iter::range::<impl Iterator for std::ops::Range<i32>>::next) { // at $DIR/remove_storage_markers.rs:8:14: 8:19 |
27 |
| - debug self => _8; // in scope 5 at $SRC_DIR/core/src/iter/range.rs:LL:COL |
28 |
| - let mut _14: &mut std::ops::Range<i32>; // in scope 5 at $SRC_DIR/core/src/iter/range.rs:LL:COL |
| 26 | + scope 6 (inlined <iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>> as Iterator>::next) { // at $DIR/remove_storage_markers.rs:8:14: 8:19 |
| 27 | + debug self => _8; // in scope 6 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 28 | + let mut _16: &mut std::iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>>; // in scope 6 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
29 | 29 | }
|
30 | 30 | }
|
31 |
| - scope 4 (inlined <std::ops::Range<i32> as IntoIterator>::into_iter) { // at $DIR/remove_storage_markers.rs:8:14: 8:19 |
32 |
| - debug self => _3; // in scope 4 at $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL |
| 31 | + scope 4 (inlined <std::ops::Range<i32> as iter::loop_desugar::IntoIterator>::into_iter) { // at $DIR/remove_storage_markers.rs:8:14: 8:19 |
| 32 | + debug self => _3; // in scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 33 | + let mut _14: std::ops::Range<i32>; // in scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 34 | + let mut _15: std::ops::Range<i32>; // in scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 35 | + scope 5 (inlined <std::ops::Range<i32> as IntoIterator>::into_iter) { // at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 36 | + debug self => _15; // in scope 5 at $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL |
| 37 | + } |
33 | 38 | }
|
34 | 39 | }
|
35 | 40 |
|
|
41 | 46 | Deinit(_3); // scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
42 | 47 | (_3.0: i32) = const 0_i32; // scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
43 | 48 | (_3.1: i32) = const 10_i32; // scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
44 |
| - _2 = move _3; // scope 4 at $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL |
| 49 | +- StorageLive(_14); // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 50 | +- StorageLive(_15); // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 51 | + _15 = move _3; // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 52 | + _14 = move _15; // scope 5 at $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL |
| 53 | +- StorageDead(_15); // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 54 | + (_2.0: std::ops::Range<i32>) = move _14; // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 55 | + (_2.1: usize) = const 0_usize; // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 56 | +- StorageDead(_14); // scope 4 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
45 | 57 | - StorageDead(_3); // scope 1 at $DIR/remove_storage_markers.rs:8:18: 8:19
|
46 | 58 | - StorageLive(_4); // scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
47 | 59 | _4 = move _2; // scope 1 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
|
55 | 67 | - StorageLive(_9); // scope 2 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
56 | 68 | _9 = &mut _4; // scope 2 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
57 | 69 | _8 = &mut (*_9); // scope 2 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
58 |
| -- StorageLive(_14); // scope 5 at $SRC_DIR/core/src/iter/range.rs:LL:COL |
59 |
| - _14 = &mut (*_8); // scope 5 at $SRC_DIR/core/src/iter/range.rs:LL:COL |
60 |
| - _7 = <std::ops::Range<i32> as iter::range::RangeIteratorImpl>::spec_next(move _14) -> bb4; // scope 5 at $SRC_DIR/core/src/iter/range.rs:LL:COL |
| 70 | +- StorageLive(_16); // scope 6 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 71 | + _16 = &mut (*_8); // scope 6 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 72 | + _7 = <iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>> as iter::loop_desugar::DesugarSpec<i32>>::next_spec(move _16) -> bb4; // scope 6 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
61 | 73 | // mir::Constant
|
62 |
| - // + span: $SRC_DIR/core/src/iter/range.rs:LL:COL |
63 |
| - // + literal: Const { ty: for<'r> fn(&'r mut std::ops::Range<i32>) -> Option<<std::ops::Range<i32> as iter::range::RangeIteratorImpl>::Item> {<std::ops::Range<i32> as iter::range::RangeIteratorImpl>::spec_next}, val: Value(Scalar(<ZST>)) } |
| 74 | + // + span: $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
| 75 | + // + literal: Const { ty: for<'r> fn(&'r mut iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>>) -> Option<i32> {<iter::loop_desugar::ForLoopDesugar<std::ops::Range<i32>> as iter::loop_desugar::DesugarSpec<i32>>::next_spec}, val: Value(Scalar(<ZST>)) } |
64 | 76 | }
|
65 | 77 |
|
66 | 78 | bb2: {
|
|
91 | 103 | }
|
92 | 104 |
|
93 | 105 | bb4: {
|
94 |
| -- StorageDead(_14); // scope 5 at $SRC_DIR/core/src/iter/range.rs:LL:COL |
| 106 | +- StorageDead(_16); // scope 6 at $SRC_DIR/core/src/iter/loop_desugar.rs:LL:COL |
95 | 107 | - StorageDead(_8); // scope 2 at $DIR/remove_storage_markers.rs:8:18: 8:19
|
96 | 108 | _10 = discriminant(_7); // scope 2 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
97 | 109 | switchInt(move _10) -> [0_isize: bb3, otherwise: bb2]; // scope 2 at $DIR/remove_storage_markers.rs:8:14: 8:19
|
|
0 commit comments