diff options
| author | bors <bors@rust-lang.org> | 2025-03-29 10:31:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-29 10:31:47 +0000 |
| commit | 898916595c4496cee237a82f3f07650e5bd70447 (patch) | |
| tree | 1577d220f576373c9a397a10ac5758ff382f1444 /compiler/rustc_interface/src/interface.rs | |
| parent | 928468c47c2a670bfa62727cfa2f14f75f5b7331 (diff) | |
| parent | 122d7e1dcd921eafabd5c76d050d997876110e08 (diff) | |
| download | rust-898916595c4496cee237a82f3f07650e5bd70447.tar.gz rust-898916595c4496cee237a82f3f07650e5bd70447.zip | |
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); ```
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions
