rust/compiler/rustc_symbol_mangling/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
..
legacy.rs Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
lib.rs Do not access HIR to compute symbol_name. 2022-04-10 13:42:47 +02:00
test.rs remove ItemLikeVisitor impls in incremental, interface, metadata and symbol_mangling crates 2022-04-08 12:00:23 -04:00
v0.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00