diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-04-13 08:51:31 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-04-13 08:51:31 +0800 |
commit | 9ee40f479d9b655fefcd45bd10691473d23cf0f0 (patch) | |
tree | a7ec9dea1c9df56adc85209e7bd23ccfd1ad017e /src/mir/from_hir_match.cpp | |
parent | d90d95419d9a40449237ac8f1d27f38417201ec3 (diff) | |
download | mrust-9ee40f479d9b655fefcd45bd10691473d23cf0f0.tar.gz |
MIR Gen - Do value raising for deref operator overloads
Diffstat (limited to 'src/mir/from_hir_match.cpp')
-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 ecc8b6e6..2f248f10 100644 --- a/src/mir/from_hir_match.cpp +++ b/src/mir/from_hir_match.cpp @@ -1387,6 +1387,7 @@ void PatternRulesetBuilder::append_from(const Span& sp, const ::HIR::Pattern& pa sub_builder.m_field_path.back() = 0; if( pe.trailing.size() ) { + // Needs a way of encoding the negative offset in the field path TODO(sp, "SplitSlice on [T] with trailing - " << pat); } auto trailing = mv$(sub_builder.m_rules); |