diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-21 21:38:55 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-21 21:38:55 +0800 |
commit | 3de0496afa924003137cb2500c5110887c85baf3 (patch) | |
tree | 4cde52786752ba1faff9a3d8a7f39f33b0a9d2d4 | |
parent | b35d2d5609ede90bc9204db539c81adf20fec8d1 (diff) | |
download | mrust-3de0496afa924003137cb2500c5110887c85baf3.tar.gz |
MIR Gen Match - (minor) Note a TODO
-rw-r--r-- | src/mir/from_hir_match.cpp | 1 |
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; |