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

Gives access to the HIR ID for the given LocalDefId owner key.

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