Skip to content

Commit 94307e2

Browse files
committed
bless new output on some mir-opt tests
1 parent 44756d8 commit 94307e2

3 files changed

+3
-3
lines changed

Diff for: src/test/mir-opt/separate_const_switch.identity.ConstProp.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
scope 1 {
1616
debug residual => _6; // in scope 1 at $DIR/separate_const_switch.rs:29:9: 29:10
1717
scope 2 {
18-
scope 8 (inlined <Result<i32, i32> as FromResidual<Result<Infallible, i32>>>::from_residual) { // at $DIR/separate_const_switch.rs:29:8: 29:10
18+
scope 8 (inlined #[track_caller] <Result<i32, i32> as FromResidual<Result<Infallible, i32>>>::from_residual) { // at $DIR/separate_const_switch.rs:29:8: 29:10
1919
debug residual => _8; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10
2020
let _16: i32; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10
2121
let mut _17: i32; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10

Diff for: src/test/mir-opt/separate_const_switch.identity.PreCodegen.after.mir

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn identity(_1: Result<i32, i32>) -> Result<i32, i32> {
1212
scope 1 {
1313
debug residual => _5; // in scope 1 at $DIR/separate_const_switch.rs:29:9: 29:10
1414
scope 2 {
15-
scope 8 (inlined <Result<i32, i32> as FromResidual<Result<Infallible, i32>>>::from_residual) { // at $DIR/separate_const_switch.rs:29:8: 29:10
15+
scope 8 (inlined #[track_caller] <Result<i32, i32> as FromResidual<Result<Infallible, i32>>>::from_residual) { // at $DIR/separate_const_switch.rs:29:8: 29:10
1616
debug residual => _6; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10
1717
let _14: i32; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10
1818
let mut _15: i32; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10

Diff for: src/test/mir-opt/separate_const_switch.identity.SeparateConstSwitch.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
scope 1 {
1616
debug residual => _6; // in scope 1 at $DIR/separate_const_switch.rs:29:9: 29:10
1717
scope 2 {
18-
scope 8 (inlined <Result<i32, i32> as FromResidual<Result<Infallible, i32>>>::from_residual) { // at $DIR/separate_const_switch.rs:29:8: 29:10
18+
scope 8 (inlined #[track_caller] <Result<i32, i32> as FromResidual<Result<Infallible, i32>>>::from_residual) { // at $DIR/separate_const_switch.rs:29:8: 29:10
1919
debug residual => _8; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10
2020
let _16: i32; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10
2121
let mut _17: i32; // in scope 8 at $DIR/separate_const_switch.rs:29:8: 29:10

0 commit comments

Comments
 (0)