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 40f51ce84..f94addb56 100644
--- a/tests/mir-opt/copy-prop/move_projection.rs
+++ b/tests/mir-opt/copy-prop/move_projection.rs
@@ -17,10 +17,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, bb1, opaque(Move(a)))
+ Call(RET = opaque(Move(a)), bb1)
}
bb1 = {
- Call(RET, ret, opaque(Move(c)))
+ Call(RET = opaque(Move(c)), ret)
}
ret = {
Return()