summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/copy-prop/move_projection.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/copy-prop/move_projection.rs')
-rw-r--r--tests/mir-opt/copy-prop/move_projection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mir-opt/copy-prop/move_projection.rs b/tests/mir-opt/copy-prop/move_projection.rs
index 8629d535b..438a90ddd 100644
--- a/tests/mir-opt/copy-prop/move_projection.rs
+++ b/tests/mir-opt/copy-prop/move_projection.rs
@@ -18,10 +18,10 @@ fn f(a: Foo) -> bool {
let b = a;
// This is a move out of a copy, so must become a copy of `a.0`.
let c = Move(b.0);
- Call(RET = opaque(Move(a)), bb1)
+ Call(RET = opaque(Move(a)), bb1, UnwindContinue())
}
bb1 = {
- Call(RET = opaque(Move(c)), ret)
+ Call(RET = opaque(Move(c)), ret, UnwindContinue())
}
ret = {
Return()