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

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