rust/compiler/rustc_resolve/src
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
..
late Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
build_reduced_graph.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
check_unused.rs Stop tracking namespce in used_imports. 2021-08-22 16:50:59 +02:00
def_collector.rs Record call_site parent for macros. 2021-09-10 20:19:25 +02:00
diagnostics.rs rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
imports.rs rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
late.rs Store lowering outputs per owner. 2021-10-09 11:56:29 +02:00
lib.rs Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
macros.rs Remove visible path calculation from allowed deprecation lint 2021-09-30 15:15:10 +04:00