summaryrefslogtreecommitdiff
path: root/src/mir/cleanup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/cleanup.cpp')
-rw-r--r--src/mir/cleanup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/cleanup.cpp b/src/mir/cleanup.cpp
index c9dba9bd..8ab78ab2 100644
--- a/src/mir/cleanup.cpp
+++ b/src/mir/cleanup.cpp
@@ -997,7 +997,7 @@ void MIR_Cleanup(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path,
re.val = mv$( *v.as_Deref().val );
),
(MakeDst,
- MIR_Cleanup_LValue(state, mutator, re.ptr_val);
+ MIR_Cleanup_Param(state, mutator, re.ptr_val);
MIR_Cleanup_Param(state, mutator, re.meta_val);
),
(Tuple,