rust/compiler/rustc_monomorphize/src
bors edba282770 Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot
Refactor HIR item-like traversal (part 1)

Issue  #95004

- Create hir_crate_items query which traverses tcx.hir_crate(()).owners to return a hir::ModuleItems
- use tcx.hir_crate_items in tcx.hir().items() to return an iterator of hir::ItemId
- use tcx.hir_crate_items to introduce a tcx.hir().par_items(impl Fn(hir::ItemId)) to traverse all items in parallel;

Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>

cc `@cjgillot`
2022-04-17 08:06:53 +00:00
..
partitioning Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
collector.rs Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
polymorphize.rs Use def_key in tcx.item_name when possible. 2022-04-09 10:54:43 +02:00
util.rs Adopt let_else in even more places 2022-02-16 22:43:39 +01:00