Skip to content

Commit 2a70524

Browse files
committed
./x.py test --bless
1 parent 23e3840 commit 2a70524

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

tests/mir-opt/issue_41110.test.ElaborateDrops.diff

+2-3
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@
6666
}
6767

6868
bb6 (cleanup): {
69-
- drop(_5) -> bb8; // scope 2 at $DIR/issue_41110.rs:+4:9: +4:10
70-
+ goto -> bb8; // scope 2 at $DIR/issue_41110.rs:+4:9: +4:10
69+
drop(_5) -> bb8; // scope 2 at $DIR/issue_41110.rs:+4:9: +4:10
7170
}
7271

7372
bb7 (cleanup): {
@@ -91,7 +90,7 @@
9190
+
9291
+ bb11 (cleanup): {
9392
+ _2 = move _5; // scope 2 at $DIR/issue_41110.rs:+4:5: +4:6
94-
+ goto -> bb6; // scope 2 at $DIR/issue_41110.rs:+4:5: +4:6
93+
+ goto -> bb10; // scope 2 at $DIR/issue_41110.rs:+4:5: +4:6
9594
+ }
9695
+
9796
+ bb12: {

tests/mir-opt/issue_41888.main.ElaborateDrops.diff

+2-3
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@
9292
}
9393

9494
bb10 (cleanup): {
95-
- drop(_3) -> bb11; // scope 1 at $DIR/issue_41888.rs:+3:19: +3:20
96-
+ goto -> bb11; // scope 1 at $DIR/issue_41888.rs:+3:19: +3:20
95+
drop(_3) -> bb11; // scope 1 at $DIR/issue_41888.rs:+3:19: +3:20
9796
}
9897

9998
bb11 (cleanup): {
@@ -110,7 +109,7 @@
110109
+ _8 = const true; // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
111110
+ _9 = const true; // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
112111
+ _1 = move _3; // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
113-
+ goto -> bb10; // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
112+
+ goto -> bb12; // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
114113
+ }
115114
+
116115
+ bb14: {

0 commit comments

Comments
 (0)