summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-31 11:54:18 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-31 11:54:18 +0800
commitec4bcefef1d071b2a1d1957110f4602621bacb45 (patch)
tree5b3d0e777f952122cf2b8bbbce660830889925a0 /src
parentf648196c97f76c09f7ad6b9d06bf70dbeed740b5 (diff)
downloadmrust-ec4bcefef1d071b2a1d1957110f4602621bacb45.tar.gz
HIR Bind - Apply bind to erased types
Diffstat (limited to 'src')
-rw-r--r--src/hir_conv/bind.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp
index 4601b90d..7cb4e402 100644
--- a/src/hir_conv/bind.cpp
+++ b/src/hir_conv/bind.cpp
@@ -515,6 +515,9 @@ namespace {
}
};
+ for(auto& ty : expr.m_erased_types)
+ visit_type(ty);
+
if( expr.get() != nullptr )
{
ExprVisitor v { *this };