Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8989165

Browse files
committed
Auto merge of #139067 - m-ou-se:terminating-scopes-no-hashset, r=wesleywiser
Remove `terminating_scopes` hash set. Instead of inserting and checking ids in a hashset, we can just pass a boolean as argument. For example: ```diff - visitor.terminating_scopes.insert(arm.hir_id.local_id); - visitor.enter_node_scope_with_dtor(arm.hir_id.local_id); + visitor.enter_node_scope_with_dtor(arm.hir_id.local_id, true); ```
2 parents 928468c + 122d7e1 commit 8989165

File tree

1 file changed

+95
-164
lines changed
  • compiler/rustc_hir_analysis/src/check

1 file changed

+95
-164
lines changed

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /