summaryrefslogtreecommitdiff
path: root/src/mir/from_hir.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-07 21:37:38 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-07 21:37:38 +0800
commit067adff6c9847aa948d40880b9a0127b99dac8b5 (patch)
tree26c8d2465bd042c5181b52abbebdc21798a2dee7 /src/mir/from_hir.hpp
parent094887c94585492f4b397f71d9bbbba4a562342d (diff)
downloadmrust-067adff6c9847aa948d40880b9a0127b99dac8b5.tar.gz
MIR Gen - Destructure array patterns
Diffstat (limited to 'src/mir/from_hir.hpp')
-rw-r--r--src/mir/from_hir.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir/from_hir.hpp b/src/mir/from_hir.hpp
index 39890bbf..7e48971f 100644
--- a/src/mir/from_hir.hpp
+++ b/src/mir/from_hir.hpp
@@ -186,6 +186,7 @@ private:
void drop_scope_values(const ScopeDef& sd);
void complete_scope(ScopeDef& sd);
+public:
void with_val_type(const Span& sp, const ::MIR::LValue& val, ::std::function<void(const ::HIR::TypeRef&)> cb);
bool lvalue_is_copy(const Span& sp, const ::MIR::LValue& lv);
};