Function rustc_ast_lowering::index::index_hir
source · pub(crate) fn index_hir<'hir>(
sess: &Session,
definitions: &Definitions,
item: OwnerNode<'hir>,
bodies: &SortedMap<ItemLocalId, &'hir Body<'hir>>
) -> (IndexVec<ItemLocalId, Option<ParentedNode<'hir>>>, FxHashMap<LocalDefId, ItemLocalId>)