rust/compiler/rustc_ast_lowering/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
..
asm.rs make #[target_feature] work with asm register classes 2021-10-07 15:42:18 -04:00
block.rs Do not preallocate item HirIds. 2021-09-18 13:14:29 +02:00
expr.rs Store lowering outputs per owner. 2021-10-09 11:56:29 +02:00
index.rs Use invalid local id for zeroth node parent. 2021-10-12 08:41:53 +02:00
item.rs Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
lib.rs Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
pat.rs ast_lowering: Introduce lower_span for catching all spans entering HIR 2021-08-29 10:49:40 +03:00
path.rs Do not store visibility in *ItemRef. 2021-09-20 00:29:53 +02:00