rust/compiler/rustc_interface/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
..
callbacks.rs Remove SPAN_DEBUG global 2022-02-12 11:50:02 +01:00
interface.rs Add support for values() with --check-cfg 2022-03-03 12:00:28 +01:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
passes.rs Rollup merge of #93969 - bjorn3:codegen_backend_dep_info, r=pnkfelix 2022-04-16 07:12:42 +02:00
proc_macro_decls.rs update Finder to store LocalDefId 2022-04-09 14:00:22 -04:00
queries.rs Address review comments and add a test 2022-04-02 17:26:39 +02:00
tests.rs sess: try sysroot candidates for fluent bundle 2022-04-12 10:15:37 +01:00
util.rs sess: try sysroot candidates for fluent bundle 2022-04-12 10:15:37 +01:00