From 2a70524397728e4d13e494667fc4865af42c879b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Thu, 23 Feb 2023 00:00:00 +0000 Subject: [PATCH] ./x.py test --bless --- tests/mir-opt/issue_41110.test.ElaborateDrops.diff | 5 ++--- tests/mir-opt/issue_41888.main.ElaborateDrops.diff | 5 ++--- 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: {