rust/compiler
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
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisa 2022-04-16 04:46:01 +00:00
rustc_ast_lowering Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisa 2022-04-16 04:46:01 +00:00
rustc_ast_passes Rollup merge of #95346 - Aaron1011:stablize-const-extern-fn, r=pnkfelix 2022-04-17 00:07:23 +02:00
rustc_ast_pretty Rollup merge of #94985 - dtolnay:constattr, r=pnkfelix 2022-04-16 19:42:00 +02:00
rustc_attr
rustc_borrowck
rustc_builtin_macros Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisa 2022-04-16 04:46:01 +00:00
rustc_codegen_cranelift
rustc_codegen_gcc Auto merge of #95689 - lqd:self-profiler, r=wesleywiser 2022-04-16 11:43:28 +00:00
rustc_codegen_llvm Auto merge of #96117 - Dylan-DPC:rollup-5traczf, r=Dylan-DPC 2022-04-16 14:24:14 +00:00
rustc_codegen_ssa Auto merge of #96010 - eduardosm:Unique-on-top-of-NonNull, r=m-ou-se,tmiasko 2022-04-17 05:26:08 +00:00
rustc_const_eval Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk 2022-04-16 19:42:03 +02:00
rustc_data_structures Auto merge of #95899 - petrochenkov:modchild2, r=cjgillot 2022-04-16 22:04:10 +00:00
rustc_driver errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
rustc_error_codes
rustc_error_messages errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
rustc_errors Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnr 2022-04-16 14:25:56 +02:00
rustc_expand Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnr 2022-04-16 14:25:56 +02:00
rustc_feature Rollup merge of #94457 - jhpratt:stabilize-derive_default_enum, r=davidtwco 2022-04-15 20:50:43 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_hir_pretty Reimplement lowering of sym operands for asm! so that it also works with global_asm! 2022-04-14 15:32:03 +01:00
rustc_incremental Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_index
rustc_infer Rollup merge of #95908 - compiler-errors:shallow_resolve_ty-inline, r=oli-obk 2022-04-16 19:42:04 +02:00
rustc_interface Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_lexer
rustc_lint
rustc_lint_defs make unaligned_reference warning visible in future compat report 2022-04-14 22:15:56 -04:00
rustc_llvm Add codegen for global_asm! sym operands 2022-04-15 14:36:30 +01:00
rustc_log
rustc_macros couple of clippy::complexity fixes 2022-04-13 22:51:34 +02:00
rustc_metadata Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_middle Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_mir_build Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnr 2022-04-16 14:25:56 +02:00
rustc_mir_dataflow
rustc_mir_transform couple of clippy::complexity fixes 2022-04-13 22:51:34 +02:00
rustc_monomorphize Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_parse Rollup merge of #95346 - Aaron1011:stablize-const-extern-fn, r=pnkfelix 2022-04-17 00:07:23 +02:00
rustc_parse_format
rustc_passes Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
rustc_resolve Rollup merge of #95887 - petrochenkov:doclink5, r=cjgillot 2022-04-16 14:25:55 +02:00
rustc_save_analysis
rustc_serialize
rustc_session Rollup merge of #96026 - matthiaskrgr:clippy_compl_1304, r=Dylan-DPC 2022-04-15 20:50:47 +02:00
rustc_span Rollup merge of #95961 - RalfJung:gather-scatter, r=workingjubilee 2022-04-16 07:12:45 +02:00
rustc_symbol_mangling Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_target couple of clippy::complexity fixes 2022-04-13 22:51:34 +02:00
rustc_trait_selection Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnr 2022-04-16 14:25:56 +02:00
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00