1
Fork 0

Always inline query_get_at.

This commit is contained in:
Nicholas Nethercote 2025-02-27 12:01:44 +11:00
parent 00f245915b
commit cc783862b0

View file

@ -165,7 +165,7 @@ impl<'tcx> TyCtxt<'tcx> {
}
}
#[inline]
#[inline(always)]
pub fn query_get_at<'tcx, Cache>(
tcx: TyCtxt<'tcx>,
execute_query: fn(TyCtxt<'tcx>, Span, Cache::Key, QueryMode) -> Option<Cache::Value>,