diff options
| author | Gary Guo <gary@garyguo.net> | 2023-04-05 09:17:40 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2023-04-06 09:34:17 +0100 |
| commit | 2a9d710d999e629c064908076420635096eb39de (patch) | |
| tree | 89f0ab70dda4965f5d48663c534853a50577da18 /tests/mir-opt/basic_assignment.main.ElaborateDrops.diff | |
| parent | c5829c2ee544eb9931ce0d34f46b113b0a1e7f04 (diff) | |
| download | rust-2a9d710d999e629c064908076420635096eb39de.tar.gz rust-2a9d710d999e629c064908076420635096eb39de.zip | |
Bless tests
Diffstat (limited to 'tests/mir-opt/basic_assignment.main.ElaborateDrops.diff')
| -rw-r--r-- | tests/mir-opt/basic_assignment.main.ElaborateDrops.diff | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff b/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff index 61a934685cd..d663c343515 100644 --- a/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff +++ b/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff @@ -47,7 +47,7 @@ bb2 (cleanup): { _5 = move _6; // scope 4 at $DIR/basic_assignment.rs:+13:5: +13:11 - drop(_6) -> bb6; // scope 4 at $DIR/basic_assignment.rs:+13:19: +13:20 + drop(_6) -> [return: bb6, unwind terminate]; // scope 4 at $DIR/basic_assignment.rs:+13:19: +13:20 } bb3: { @@ -70,16 +70,20 @@ } bb6 (cleanup): { - drop(_5) -> bb7; // scope 3 at $DIR/basic_assignment.rs:+14:1: +14:2 + drop(_5) -> [return: bb7, unwind terminate]; // scope 3 at $DIR/basic_assignment.rs:+14:1: +14:2 } bb7 (cleanup): { -- drop(_4) -> bb8; // scope 2 at $DIR/basic_assignment.rs:+14:1: +14:2 +- drop(_4) -> [return: bb8, unwind terminate]; // scope 2 at $DIR/basic_assignment.rs:+14:1: +14:2 + goto -> bb8; // scope 2 at $DIR/basic_assignment.rs:+14:1: +14:2 } bb8 (cleanup): { resume; // scope 0 at $DIR/basic_assignment.rs:+0:1: +14:2 ++ } ++ ++ bb9 (cleanup): { ++ unreachable; // scope 0 at $DIR/basic_assignment.rs:+0:1: +14:2 } } |
