Skip to main content

start_query

Function start_query 

Source
pub(crate) fn start_query<'tcx, R>(
    tcx: TyCtxt<'tcx>,
    token: QueryJobId,
    depth_limit: bool,
    compute: impl FnOnce() -> R,
) -> R
Expand description

Executes a job by changing the ImplicitCtxt to point to the new query job while it executes.