Skip to content

Commit 2b4694a

Browse files
committed
Auto merge of #137695 - nnethercote:always-inline-query_get_at, r=saethlin
Always inline `query_get_at`. r? `@saethlin`
2 parents 3ea711f + cc78386 commit 2b4694a

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)