diff options
Diffstat (limited to 'src/mir/from_hir.cpp')
-rw-r--r-- | src/mir/from_hir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir/from_hir.cpp b/src/mir/from_hir.cpp index 98d339e3..f014961a 100644 --- a/src/mir/from_hir.cpp +++ b/src/mir/from_hir.cpp @@ -1452,6 +1452,8 @@ namespace { } else { + // NOTE: This has to be done here because the builder can't easily do it. + m_builder.mark_value_assigned(node.span(), res); } m_builder.set_result( node.span(), mv$(res) ); } |