rust/compiler
bors bd41e09da3 Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister
Index and hash HIR as part of lowering

Part of https://github.com/rust-lang/rust/pull/88186
~Based on https://github.com/rust-lang/rust/pull/88880 (see merge commit).~

Once HIR is lowered, it is later indexed by the `index_hir` query and hashed for `crate_hash`. This PR moves those post-processing steps to lowering itself. As a side objective, the HIR crate data structure is refactored as an `IndexVec<LocalDefId, Option<OwnerInfo<'hir>>>` where `OwnerInfo` stores all the relevant information for an HIR owner.

r? `@michaelwoerister`
cc `@petrochenkov`
2021-10-18 19:53:05 +00:00
..
rustc
rustc_apfloat Apply clippy suggestions 2021-10-10 15:38:19 +02:00
rustc_arena
rustc_ast Rollup merge of #89990 - petrochenkov:idempty, r=wesleywiser 2021-10-18 08:13:30 +02:00
rustc_ast_lowering Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_ast_passes Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
rustc_ast_pretty Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
rustc_attr Correct typo 2021-10-16 13:36:05 -07:00
rustc_borrowck Fix ICE with let...else and ref mut 2021-10-17 07:12:22 +09:00
rustc_builtin_macros rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
rustc_codegen_cranelift Remove alloc::prelude 2021-10-15 01:41:31 +02:00
rustc_codegen_gcc Remove alloc::prelude 2021-10-15 01:41:31 +02:00
rustc_codegen_llvm Remap ssa RealPredicate to llvm RealPredicate 2021-10-12 11:55:45 +02:00
rustc_codegen_ssa Auto merge of #89597 - michaelwoerister:improve-vtable-debuginfo, r=wesleywiser 2021-10-11 04:31:47 +00:00
rustc_const_eval Auto merge of #89514 - davidtwco:polymorphize-shims-and-predicates, r=lcnr 2021-10-17 12:33:12 +00:00
rustc_data_structures Remove for loop range 2021-10-10 16:32:16 +02:00
rustc_driver Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_error_codes Auto merge of #89903 - matthiaskrgr:rollup-s0c69xl, r=matthiaskrgr 2021-10-15 05:59:49 +00:00
rustc_errors emitter: current substitution can be multi-line 2021-10-15 15:30:43 +00:00
rustc_expand rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
rustc_feature Revert "Stabilize arbitrary_enum_discriminant" 2021-10-14 10:57:56 -04:00
rustc_fs_util
rustc_graphviz Apply clippy suggestions 2021-10-10 15:38:19 +02:00
rustc_hir Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_hir_pretty Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_incremental Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
rustc_index Use Option::map_or instead of open coding it 2021-10-12 14:47:52 +02:00
rustc_infer Rollup merge of #89915 - jackh726:outlives_cleanup, r=nikomatsakis 2021-10-16 08:02:25 +02:00
rustc_interface Enable AutoFDO. 2021-10-06 19:36:52 +00:00
rustc_lexer Apply clippy suggestions 2021-10-10 15:38:19 +02:00
rustc_lint Rollup merge of #89987 - pierwill:fix-85526-docs-hidden-assoc, r=GuillaumeGomez 2021-10-18 08:13:28 +02:00
rustc_lint_defs Add feature gate to non_exhaustive_omitted_patterns lint 2021-10-08 17:40:39 -04:00
rustc_llvm Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, r=michaelwoerister 2021-10-07 20:26:11 -07:00
rustc_macros Apply clippy suggestions 2021-10-10 15:38:19 +02:00
rustc_metadata Auto merge of #89514 - davidtwco:polymorphize-shims-and-predicates, r=lcnr 2021-10-17 12:33:12 +00:00
rustc_middle Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_mir_build Filter unstable and doc hidden variants in usefulness checking 2021-10-12 08:22:25 -04:00
rustc_mir_dataflow comma-related changes 2021-10-07 11:29:47 -07:00
rustc_mir_transform Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_monomorphize Auto merge of #89514 - davidtwco:polymorphize-shims-and-predicates, r=lcnr 2021-10-17 12:33:12 +00:00
rustc_parse Rollup merge of #89990 - petrochenkov:idempty, r=wesleywiser 2021-10-18 08:13:30 +02:00
rustc_parse_format
rustc_passes Use Ancestory to check default fn in const impl instead of comparing idents 2021-10-11 18:19:54 +01:00
rustc_plugin_impl Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
rustc_privacy Auto merge of #89405 - GuillaumeGomez:fix-clippy-lints, r=cjgillot 2021-10-02 10:52:09 +00:00
rustc_query_impl Remove built-in cache_hit tracking 2021-10-11 16:33:49 -04:00
rustc_query_system Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_resolve Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_save_analysis Auto merge of #89266 - cjgillot:session-ich, r=michaelwoerister 2021-10-05 09:45:11 +00:00
rustc_serialize Apply clippy suggestions 2021-10-10 15:38:19 +02:00
rustc_session Rollup merge of #89476 - cjgillot:expn-id, r=petrochenkov 2021-10-07 20:26:14 -07:00
rustc_span rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
rustc_symbol_mangling Remove re-export. 2021-10-03 16:08:54 +02:00
rustc_target add platform support details file for armv7-unknown-linux-uclibc 2021-10-06 14:33:13 +00:00
rustc_trait_selection Move some outlives bounds things from rustc_trait_selection to rustc_typeck 2021-10-15 12:14:19 -04:00
rustc_traits Move some outlives bounds things from rustc_trait_selection to rustc_typeck 2021-10-15 12:14:19 -04:00
rustc_ty_utils Remove various unused feature gates 2021-10-02 19:09:18 +02:00
rustc_type_ir Add two inline annotations for hot functions 2021-10-03 12:43:43 -04:00
rustc_typeck Rollup merge of #89963 - r00ster91:parenthesisparentheses, r=nagisa 2021-10-17 18:18:59 +02:00