diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 14:26:34 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 16:07:33 -0700 |
| commit | 99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad (patch) | |
| tree | bb59a5f90f8a4a26f498d6748aec34d14a01d052 /tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff | |
| parent | 249a36ffbd577fc76153b7ad4cafd33607ee4ddc (diff) | |
| download | rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.tar.gz rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.zip | |
Bless *all* the mir-opt tests
Diffstat (limited to 'tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff')
| -rw-r--r-- | tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff b/tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff index 65379ae8b89..79599f85611 100644 --- a/tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff +++ b/tests/mir-opt/jump_threading.identity.JumpThreading.panic-abort.diff @@ -45,7 +45,7 @@ StorageLive(_2); StorageLive(_3); StorageLive(_4); - _4 = _1; + _4 = copy _1; StorageLive(_10); StorageLive(_11); StorageLive(_12); @@ -59,8 +59,8 @@ bb2: { StorageLive(_9); - _9 = ((_3 as Continue).0: i32); - _2 = _9; + _9 = copy ((_3 as Continue).0: i32); + _2 = copy _9; StorageDead(_9); _0 = Result::<i32, i32>::Ok(move _2); StorageDead(_2); @@ -70,9 +70,9 @@ bb3: { StorageLive(_6); - _6 = ((_3 as Break).0: std::result::Result<std::convert::Infallible, i32>); + _6 = copy ((_3 as Break).0: std::result::Result<std::convert::Infallible, i32>); StorageLive(_8); - _8 = _6; + _8 = copy _6; StorageLive(_14); _14 = move ((_8 as Err).0: i32); StorageLive(_15); @@ -104,7 +104,7 @@ bb6: { _12 = move ((_4 as Err).0: i32); StorageLive(_13); - _13 = Result::<Infallible, i32>::Err(_12); + _13 = Result::<Infallible, i32>::Err(copy _12); _3 = ControlFlow::<Result<Infallible, i32>, i32>::Break(move _13); StorageDead(_13); - goto -> bb5; @@ -113,7 +113,7 @@ bb7: { _11 = move ((_4 as Ok).0: i32); - _3 = ControlFlow::<Result<Infallible, i32>, i32>::Continue(_11); + _3 = ControlFlow::<Result<Infallible, i32>, i32>::Continue(copy _11); goto -> bb5; + } + |
