Function rustc_query_impl::make_query::hir_owner_parent[][src]

pub fn hir_owner_parent<'tcx>(
    tcx: QueryCtxt<'tcx>,
    key: hir_owner_parent<'tcx>
) -> QueryStackFrame
Expand description

Gives access to the HIR node’s parent for the HIR owner key.

This can be conveniently accessed by methods on tcx.hir(). Avoid calling this query directly.