diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-27 12:01:44 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-27 12:01:44 +1100 |
| commit | cc783862b01467f4683e830d0e12b52b3684b898 (patch) | |
| tree | 2ba083911a0e7d3faed7cad338b9f5eeda5b35af | |
| parent | 00f245915b0c7839d42c26f9628220c4f1b93bf6 (diff) | |
| download | rust-cc783862b01467f4683e830d0e12b52b3684b898.tar.gz rust-cc783862b01467f4683e830d0e12b52b3684b898.zip | |
Always inline `query_get_at`.
| -rw-r--r-- | compiler/rustc_middle/src/query/plumbing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/plumbing.rs b/compiler/rustc_middle/src/query/plumbing.rs index 690b8128b1a..3857ee83a0f 100644 --- a/compiler/rustc_middle/src/query/plumbing.rs +++ b/compiler/rustc_middle/src/query/plumbing.rs @@ -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>, |
