Skip to content

Commit acaa2c1

Browse files
committed
./x.py test --bless
1 parent 62f9084 commit acaa2c1

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/test/mir-opt/remove_fake_borrows.match_guard.CleanupNonCodegenStatements.diff renamed to src/test/mir-opt/remove_fake_borrows.match_guard.CleanupPostBorrowck.diff

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
- // MIR for `match_guard` before CleanupNonCodegenStatements
2-
+ // MIR for `match_guard` after CleanupNonCodegenStatements
1+
- // MIR for `match_guard` before CleanupPostBorrowck
2+
+ // MIR for `match_guard` after CleanupPostBorrowck
33

44
fn match_guard(_1: Option<&&i32>, _2: bool) -> i32 {
55
debug x => _1; // in scope 0 at $DIR/remove_fake_borrows.rs:+0:16: +0:17
@@ -29,7 +29,8 @@
2929
}
3030

3131
bb3: {
32-
goto -> bb4; // scope 0 at $DIR/remove_fake_borrows.rs:+2:9: +2:16
32+
- falseEdge -> [real: bb4, imaginary: bb1]; // scope 0 at $DIR/remove_fake_borrows.rs:+2:9: +2:16
33+
+ goto -> bb4; // scope 0 at $DIR/remove_fake_borrows.rs:+2:9: +2:16
3334
}
3435

3536
bb4: {
@@ -62,15 +63,12 @@
6263

6364
bb6: {
6465
StorageDead(_8); // scope 0 at $DIR/remove_fake_borrows.rs:+2:20: +2:21
65-
goto -> bb1; // scope 0 at $DIR/remove_fake_borrows.rs:+2:20: +2:21
66+
- falseEdge -> [real: bb1, imaginary: bb1]; // scope 0 at $DIR/remove_fake_borrows.rs:+2:20: +2:21
67+
+ goto -> bb1; // scope 0 at $DIR/remove_fake_borrows.rs:+2:20: +2:21
6668
}
6769

6870
bb7: {
6971
return; // scope 0 at $DIR/remove_fake_borrows.rs:+5:2: +5:2
7072
}
71-
72-
bb8 (cleanup): {
73-
resume; // scope 0 at $DIR/remove_fake_borrows.rs:+0:1: +5:2
74-
}
7573
}
7674

0 commit comments

Comments
 (0)