summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir/from_hir_match.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir/from_hir_match.cpp b/src/mir/from_hir_match.cpp
index 694a088a..66b3f685 100644
--- a/src/mir/from_hir_match.cpp
+++ b/src/mir/from_hir_match.cpp
@@ -75,6 +75,7 @@ struct PatternRulesetBuilder
// - Non-trivial means that there's more than one pattern
void MIR_LowerHIR_Match( MirBuilder& builder, MirConverter& conv, ::HIR::ExprNode_Match& node, ::MIR::LValue match_val )
{
+ // TODO: If any arm moves a non-Copy value, then mark `match_val` as moved
TRACE_FUNCTION;
bool fall_back_on_simple = false;