1
Fork 0

Auto merge of #137695 - nnethercote:always-inline-query_get_at, r=saethlin

Always inline `query_get_at`.

r? `@saethlin`
This commit is contained in:
bors 2025-03-09 21:36:57 +00:00
commit 2b4694a698

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>,