Skip to main content

query_get_at

Function query_get_at 

Source
pub(crate) fn query_get_at<'tcx, C>(
    tcx: TyCtxt<'tcx>,
    span: Span,
    query: &'tcx QueryVTable<'tcx, C>,
    key: C::Key,
) -> C::Value
where C: QueryCache,
Expand description

Shared implementation of tcx.$query(..) and tcx.at(span).$query(..) for all queries.