summaryrefslogtreecommitdiff
path: root/src/hir_expand/closures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir_expand/closures.cpp')
-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)