Skip to content

Commit a984b3b

Browse files
committed
Auto merge of #148706 - dianne:slightly-lazier-temporary-scoping, r=cjgillot
compute temporary scopes when building MIR, not THIR This accomplishes two things: - Makes the THIR slightly smaller by not attaching a full `TempLifetime` to every expression. - Reduces the number of traversals of the `ScopeTree` by only calling `ScopeTree::temporary_scope` when building MIR for something that needs to be dropped in a temporary scope.
2 parents b8727e3 + 5ff4396 commit a984b3b

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)