Skip to content

Commit 741b9a4

Browse files
committed
Bless test output
1 parent 35ce368 commit 741b9a4

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

src/test/mir-opt/remove_storage_markers.main.RemoveStorageMarkers.diff

+16-9
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
scope 5 {
3333
debug i => _15; // in scope 5 at $DIR/remove_storage_markers.rs:8:9: 8:10
3434
}
35+
scope 7 (inlined iter::range::<impl Iterator for std::ops::Range<i32>>::next) { // at $DIR/remove_storage_markers.rs:8:14: 8:19
36+
debug self => _9; // in scope 7 at $DIR/remove_storage_markers.rs:8:14: 8:19
37+
let mut _18: &mut std::ops::Range<i32>; // in scope 7 at $DIR/remove_storage_markers.rs:8:14: 8:19
38+
}
3539
}
3640
}
3741
scope 6 (inlined <std::ops::Range<i32> as IntoIterator>::into_iter) { // at $DIR/remove_storage_markers.rs:8:14: 8:19
@@ -61,19 +65,15 @@
6165
- StorageLive(_10); // scope 3 at $DIR/remove_storage_markers.rs:8:14: 8:19
6266
_10 = &mut _4; // scope 3 at $DIR/remove_storage_markers.rs:8:14: 8:19
6367
_9 = &mut (*_10); // scope 3 at $DIR/remove_storage_markers.rs:8:14: 8:19
64-
_8 = <std::ops::Range<i32> as Iterator>::next(move _9) -> bb2; // scope 3 at $DIR/remove_storage_markers.rs:8:14: 8:19
68+
- StorageLive(_18); // scope 7 at $DIR/remove_storage_markers.rs:8:14: 8:19
69+
_18 = &mut (*_9); // scope 7 at $DIR/remove_storage_markers.rs:8:14: 8:19
70+
_8 = <std::ops::Range<i32> as iter::range::RangeIteratorImpl>::spec_next(move _18) -> bb4; // scope 7 at $DIR/remove_storage_markers.rs:8:14: 8:19
6571
// mir::Constant
6672
// + span: $DIR/remove_storage_markers.rs:8:14: 8:19
67-
// + literal: Const { ty: for<'r> fn(&'r mut std::ops::Range<i32>) -> std::option::Option<<std::ops::Range<i32> as std::iter::Iterator>::Item> {<std::ops::Range<i32> as std::iter::Iterator>::next}, val: Value(Scalar(<ZST>)) }
73+
// + literal: Const { ty: for<'r> fn(&'r mut std::ops::Range<i32>) -> std::option::Option<<std::ops::Range<i32> as std::iter::range::RangeIteratorImpl>::Item> {<std::ops::Range<i32> as std::iter::range::RangeIteratorImpl>::spec_next}, val: Value(Scalar(<ZST>)) }
6874
}
6975

7076
bb2: {
71-
- StorageDead(_9); // scope 3 at $DIR/remove_storage_markers.rs:8:18: 8:19
72-
_11 = discriminant(_8); // scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
73-
switchInt(move _11) -> [0_isize: bb3, otherwise: bb4]; // scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
74-
}
75-
76-
bb3: {
7777
_0 = const (); // scope 3 at $DIR/remove_storage_markers.rs:8:5: 10:6
7878
- StorageDead(_10); // scope 3 at $DIR/remove_storage_markers.rs:8:18: 8:19
7979
- StorageDead(_8); // scope 3 at $DIR/remove_storage_markers.rs:8:18: 8:19
@@ -85,7 +85,7 @@
8585
return; // scope 0 at $DIR/remove_storage_markers.rs:11:2: 11:2
8686
}
8787

88-
bb4: {
88+
bb3: {
8989
- StorageLive(_12); // scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
9090
_12 = ((_8 as Some).0: i32); // scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
9191
- StorageLive(_13); // scope 4 at $DIR/remove_storage_markers.rs:8:9: 8:10
@@ -111,5 +111,12 @@
111111
- StorageDead(_6); // scope 2 at $DIR/remove_storage_markers.rs:10:5: 10:6
112112
goto -> bb1; // scope 2 at $DIR/remove_storage_markers.rs:8:5: 10:6
113113
}
114+
115+
bb4: {
116+
- StorageDead(_18); // scope 7 at $DIR/remove_storage_markers.rs:8:14: 8:19
117+
- StorageDead(_9); // scope 3 at $DIR/remove_storage_markers.rs:8:18: 8:19
118+
_11 = discriminant(_8); // scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
119+
switchInt(move _11) -> [0_isize: bb2, otherwise: bb3]; // scope 3 at $DIR/remove_storage_markers.rs:8:9: 8:10
120+
}
114121
}
115122

0 commit comments

Comments
 (0)