Files
rust/compiler/rustc_middle/src/ty
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
..
2022-04-05 23:18:40 +02:00
2020-11-16 22:42:09 +01:00
2022-03-11 13:31:24 +11:00
2022-04-12 11:29:23 +04:00
2022-01-15 01:16:55 +00:00
2022-04-10 11:11:25 -07:00
2022-03-11 13:31:24 +11:00
2022-01-14 13:45:07 +00:00
2021-12-09 15:20:58 +11:00
2022-02-15 16:19:59 +11:00
2022-03-30 17:28:19 -04:00
2022-03-31 18:14:54 +02:00
2022-04-12 19:59:32 +02:00
2022-02-21 07:09:11 +01:00