summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-11-18 07:55:31 +0800
committerJohn Hodge <tpg@mutabah.net>2016-11-18 07:55:31 +0800
commita04ec2f1e1e9e3ba42acf137f3b50f49ecae3d1c (patch)
tree6df7f9fd951af98163aeb81837fb18ebbdfb15c7 /src
parent05415b24dc782cc02f5cecfc88f85b38e5cb3531 (diff)
downloadmrust-a04ec2f1e1e9e3ba42acf137f3b50f49ecae3d1c.tar.gz
HIR Expand Closures - Replace closure types in root node result
Diffstat (limited to 'src')
-rw-r--r--src/hir_expand/closures.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir_expand/closures.cpp b/src/hir_expand/closures.cpp
index 1b7d93c8..aaa6bd85 100644
--- a/src/hir_expand/closures.cpp
+++ b/src/hir_expand/closures.cpp
@@ -216,6 +216,7 @@ namespace {
TRACE_FUNCTION;
root->visit(*this);
+ visit_type(root->m_res_type);
DEBUG("Locals");
for(auto& ty : root.m_bindings)