Skip to content

Commit 2bf1353

Browse files
committed
Inline Query::compute.
1 parent c3c5e93 commit 2bf1353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/query/plumbing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ macro_rules! define_queries_inner {
987987
DepConstructor::$node(tcx, *key)
988988
}
989989

990-
#[inline(never)]
990+
#[inline]
991991
fn compute(tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value {
992992
let provider = tcx.queries.providers.get(key.query_crate())
993993
// HACK(eddyb) it's possible crates may be loaded after

0 commit comments

Comments
 (0)