Function rustc_ast_lowering::index::index_hir

source ยท
pub(crate) fn index_hir<'hir>(
    tcx: TyCtxt<'hir>,
    item: OwnerNode<'hir>,
    bodies: &SortedMap<ItemLocalId, &'hir Body<'hir>>,
    num_nodes: usize,
) -> (IndexVec<ItemLocalId, ParentedNode<'hir>>, LocalDefIdMap<ItemLocalId>)