rust/compiler/rustc_driver/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
..
args.rs rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
lib.rs Fix RUSTC_LOG handling 2021-10-10 19:59:36 +01:00
pretty.rs Stop referring to hir::Crate in hir_pretty. 2021-10-09 11:19:44 +02:00