diff options
| author | bors <bors@rust-lang.org> | 2025-06-08 02:04:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-08 02:04:41 +0000 |
| commit | 0b65d0db5f77c44bf37b4a25489562d68c14aecf (patch) | |
| tree | 94d79b0359c55418fc6caaf18bb45c4ff77cf635 /compiler/rustc_resolve | |
| parent | a5584a8fe16037dc01782064fa41424a6dbe9987 (diff) | |
| parent | fa282f4928f88060159f8599106c055ba0c94a19 (diff) | |
| download | rust-0b65d0db5f77c44bf37b4a25489562d68c14aecf.tar.gz rust-0b65d0db5f77c44bf37b4a25489562d68c14aecf.zip | |
Auto merge of #142074 - oli-obk:its-finally-gone, r=petrochenkov
Remove CollectItemTypesVisitor
I always felt like we were very unnecessarily walking the HIR, let's see if perf agrees
There is lots to ~~improve~~ consolidate further here, as we still have 3 item wfchecks:
* check_item (matching on the hir::ItemKind)
* actually doing trait solver based checks (by using HIR spans)
* lower_item (matching on the hir::ItemKind after loading it again??)
* just ensure_ok-ing a bunch of queries
* check_item_type (matching on DefKind)
* some type based checks, mostly ensure_ok-ing a bunch of queries
fixes rust-lang/rust#121429
Diffstat (limited to 'compiler/rustc_resolve')
0 files changed, 0 insertions, 0 deletions
