diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-07 21:37:38 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-07 21:37:38 +0800 |
commit | 067adff6c9847aa948d40880b9a0127b99dac8b5 (patch) | |
tree | 26c8d2465bd042c5181b52abbebdc21798a2dee7 /src/mir/from_hir.hpp | |
parent | 094887c94585492f4b397f71d9bbbba4a562342d (diff) | |
download | mrust-067adff6c9847aa948d40880b9a0127b99dac8b5.tar.gz |
MIR Gen - Destructure array patterns
Diffstat (limited to 'src/mir/from_hir.hpp')
-rw-r--r-- | src/mir/from_hir.hpp | 1 |
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); }; |