Skip to content

Commit 6c9c69b

Browse files
committed
Auto merge of #137695 - nnethercote:always-inline-query_get_at, r=<try>
Always inline `query_get_at`. r? `@ghost`
2 parents 00f2459 + cc78386 commit 6c9c69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/query/plumbing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl<'tcx> TyCtxt<'tcx> {
165165
}
166166
}
167167

168-
#[inline]
168+
#[inline(always)]
169169
pub fn query_get_at<'tcx, Cache>(
170170
tcx: TyCtxt<'tcx>,
171171
execute_query: fn(TyCtxt<'tcx>, Span, Cache::Key, QueryMode) -> Option<Cache::Value>,

0 commit comments

Comments
 (0)