summaryrefslogtreecommitdiff
path: root/src/hir
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-10 15:53:26 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-10 15:53:26 +0800
commit434e0cfa71ca2e6d490f62d68f57d2e5027650fc (patch)
treeeb0ee8a44b5704c696e2aa432e52e8c3c2d83dd1 /src/hir
parent5810c5abb9db325a1fc9de1ac11a91739a7f6cc7 (diff)
downloadmrust-434e0cfa71ca2e6d490f62d68f57d2e5027650fc.tar.gz
HIR Expand Closures - Avoid bad monomorphisations
Diffstat (limited to 'src/hir')
-rw-r--r--src/hir/expr.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/expr.hpp b/src/hir/expr.hpp
index 82cdca2d..62bc4610 100644
--- a/src/hir/expr.hpp
+++ b/src/hir/expr.hpp
@@ -753,6 +753,7 @@ struct ExprNode_Closure:
bool m_is_move = false;
// - Path to the generated closure type
+ ::HIR::GenericPath m_obj_path_base;
::HIR::GenericPath m_obj_path;
::std::vector< ::HIR::ExprNodeP> m_captures;