about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2023-02-23 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2023-02-23 14:05:03 +0100
commit2a70524397728e4d13e494667fc4865af42c879b (patch)
treee7d48f607b7024b2f00755bca8b27c09d5f176cb
parent23e3840014e17cd20f6ebe5e268133b3ce5ab1a6 (diff)
./x.py test --bless
-rw-r--r--tests/mir-opt/issue_41110.test.ElaborateDrops.diff5
-rw-r--r--tests/mir-opt/issue_41888.main.ElaborateDrops.diff5
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/mir-opt/issue_41110.test.ElaborateDrops.diff b/tests/mir-opt/issue_41110.test.ElaborateDrops.diff
index d979a6a722c..79e3d073be5 100644
--- a/tests/mir-opt/issue_41110.test.ElaborateDrops.diff
+++ b/tests/mir-opt/issue_41110.test.ElaborateDrops.diff
@@ -66,8 +66,7 @@
       }
   
       bb6 (cleanup): {
--         drop(_5) -> bb8;                 // scope 2 at $DIR/issue_41110.rs:+4:9: +4:10
-+         goto -> bb8;                     // scope 2 at $DIR/issue_41110.rs:+4:9: +4:10
+          drop(_5) -> bb8;                 // scope 2 at $DIR/issue_41110.rs:+4:9: +4:10
       }
   
       bb7 (cleanup): {
@@ -91,7 +90,7 @@
 + 
 +     bb11 (cleanup): {
 +         _2 = move _5;                    // scope 2 at $DIR/issue_41110.rs:+4:5: +4:6
-+         goto -> bb6;                     // scope 2 at $DIR/issue_41110.rs:+4:5: +4:6
++         goto -> bb10;                    // scope 2 at $DIR/issue_41110.rs:+4:5: +4:6
 +     }
 + 
 +     bb12: {
diff --git a/tests/mir-opt/issue_41888.main.ElaborateDrops.diff b/tests/mir-opt/issue_41888.main.ElaborateDrops.diff
index 07740eacadf..257f0b1e6e8 100644
--- a/tests/mir-opt/issue_41888.main.ElaborateDrops.diff
+++ b/tests/mir-opt/issue_41888.main.ElaborateDrops.diff
@@ -92,8 +92,7 @@
       }
   
       bb10 (cleanup): {
--         drop(_3) -> bb11;                // scope 1 at $DIR/issue_41888.rs:+3:19: +3:20
-+         goto -> bb11;                    // scope 1 at $DIR/issue_41888.rs:+3:19: +3:20
+          drop(_3) -> bb11;                // scope 1 at $DIR/issue_41888.rs:+3:19: +3:20
       }
   
       bb11 (cleanup): {
@@ -110,7 +109,7 @@
 +         _8 = const true;                 // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
 +         _9 = const true;                 // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
 +         _1 = move _3;                    // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
-+         goto -> bb10;                    // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
++         goto -> bb12;                    // scope 1 at $DIR/issue_41888.rs:+3:9: +3:10
 +     }
 + 
 +     bb14: {