Skip to content

Commit 769886c

Browse files
committed
Bless mir-opt tests.
(Only the lifetime spans changed.)
1 parent 7f395f1 commit 769886c

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

Diff for: tests/mir-opt/sroa/lifetimes.foo.ScalarReplacementOfAggregates.diff

+22-22
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
let mut _17: &[core::fmt::ArgumentV1<'_>; 2]; // in scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
2020
let _18: &[core::fmt::ArgumentV1<'_>; 2]; // in scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
2121
let _19: [core::fmt::ArgumentV1<'_>; 2]; // in scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
22-
let mut _20: core::fmt::ArgumentV1<'_>; // in scope 0 at $DIR/lifetimes.rs:+10:21: +10:22
23-
let mut _21: &std::boxed::Box<dyn std::fmt::Display>; // in scope 0 at $DIR/lifetimes.rs:+10:21: +10:22
24-
let _22: &std::boxed::Box<dyn std::fmt::Display>; // in scope 0 at $DIR/lifetimes.rs:+10:21: +10:22
25-
let mut _23: core::fmt::ArgumentV1<'_>; // in scope 0 at $DIR/lifetimes.rs:+10:25: +10:26
26-
let mut _24: &u32; // in scope 0 at $DIR/lifetimes.rs:+10:25: +10:26
27-
let _25: &u32; // in scope 0 at $DIR/lifetimes.rs:+10:25: +10:26
22+
let mut _20: core::fmt::ArgumentV1<'_>; // in scope 0 at $DIR/lifetimes.rs:+10:20: +10:23
23+
let mut _21: &std::boxed::Box<dyn std::fmt::Display>; // in scope 0 at $DIR/lifetimes.rs:+10:20: +10:23
24+
let _22: &std::boxed::Box<dyn std::fmt::Display>; // in scope 0 at $DIR/lifetimes.rs:+10:20: +10:23
25+
let mut _23: core::fmt::ArgumentV1<'_>; // in scope 0 at $DIR/lifetimes.rs:+10:24: +10:27
26+
let mut _24: &u32; // in scope 0 at $DIR/lifetimes.rs:+10:24: +10:27
27+
let _25: &u32; // in scope 0 at $DIR/lifetimes.rs:+10:24: +10:27
2828
let mut _27: bool; // in scope 0 at $DIR/lifetimes.rs:+12:1: +12:2
2929
let mut _28: isize; // in scope 0 at $DIR/lifetimes.rs:+12:1: +12:2
3030
let mut _29: isize; // in scope 0 at $DIR/lifetimes.rs:+12:1: +12:2
@@ -108,34 +108,34 @@
108108
StorageLive(_17); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
109109
StorageLive(_18); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
110110
StorageLive(_19); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
111-
StorageLive(_20); // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
112-
StorageLive(_21); // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
113-
StorageLive(_22); // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
114-
_22 = &_8; // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
115-
_21 = &(*_22); // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
116-
_20 = core::fmt::ArgumentV1::<'_>::new_display::<Box<dyn std::fmt::Display>>(move _21) -> bb3; // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
111+
StorageLive(_20); // scope 4 at $DIR/lifetimes.rs:+10:20: +10:23
112+
StorageLive(_21); // scope 4 at $DIR/lifetimes.rs:+10:20: +10:23
113+
StorageLive(_22); // scope 4 at $DIR/lifetimes.rs:+10:20: +10:23
114+
_22 = &_8; // scope 4 at $DIR/lifetimes.rs:+10:20: +10:23
115+
_21 = &(*_22); // scope 4 at $DIR/lifetimes.rs:+10:20: +10:23
116+
_20 = core::fmt::ArgumentV1::<'_>::new_display::<Box<dyn std::fmt::Display>>(move _21) -> bb3; // scope 4 at $DIR/lifetimes.rs:+10:20: +10:23
117117
// mir::Constant
118-
// + span: $DIR/lifetimes.rs:27:21: 27:22
118+
// + span: $DIR/lifetimes.rs:27:20: 27:23
119119
// + user_ty: UserType(4)
120120
// + literal: Const { ty: for<'b> fn(&'b Box<dyn std::fmt::Display>) -> core::fmt::ArgumentV1<'b> {core::fmt::ArgumentV1::<'_>::new_display::<Box<dyn std::fmt::Display>>}, val: Value(<ZST>) }
121121
}
122122

123123
bb3: {
124-
StorageDead(_21); // scope 4 at $DIR/lifetimes.rs:+10:21: +10:22
125-
StorageLive(_23); // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
126-
StorageLive(_24); // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
127-
StorageLive(_25); // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
128-
_25 = &_6; // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
129-
_24 = &(*_25); // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
130-
_23 = core::fmt::ArgumentV1::<'_>::new_display::<u32>(move _24) -> bb4; // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
124+
StorageDead(_21); // scope 4 at $DIR/lifetimes.rs:+10:22: +10:23
125+
StorageLive(_23); // scope 4 at $DIR/lifetimes.rs:+10:24: +10:27
126+
StorageLive(_24); // scope 4 at $DIR/lifetimes.rs:+10:24: +10:27
127+
StorageLive(_25); // scope 4 at $DIR/lifetimes.rs:+10:24: +10:27
128+
_25 = &_6; // scope 4 at $DIR/lifetimes.rs:+10:24: +10:27
129+
_24 = &(*_25); // scope 4 at $DIR/lifetimes.rs:+10:24: +10:27
130+
_23 = core::fmt::ArgumentV1::<'_>::new_display::<u32>(move _24) -> bb4; // scope 4 at $DIR/lifetimes.rs:+10:24: +10:27
131131
// mir::Constant
132-
// + span: $DIR/lifetimes.rs:27:25: 27:26
132+
// + span: $DIR/lifetimes.rs:27:24: 27:27
133133
// + user_ty: UserType(5)
134134
// + literal: Const { ty: for<'b> fn(&'b u32) -> core::fmt::ArgumentV1<'b> {core::fmt::ArgumentV1::<'_>::new_display::<u32>}, val: Value(<ZST>) }
135135
}
136136

137137
bb4: {
138-
StorageDead(_24); // scope 4 at $DIR/lifetimes.rs:+10:25: +10:26
138+
StorageDead(_24); // scope 4 at $DIR/lifetimes.rs:+10:26: +10:27
139139
_19 = [move _20, move _23]; // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
140140
StorageDead(_23); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
141141
StorageDead(_20); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL

0 commit comments

Comments
 (0)