From 2bf1353ec1779199c27a9aaae71494c17d2a6fac Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Fri, 13 Mar 2020 08:20:33 +0100 Subject: [PATCH] Inline Query::compute. --- src/librustc/ty/query/plumbing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/ty/query/plumbing.rs b/src/librustc/ty/query/plumbing.rs index cf7efe7f1d0ba..bcd51a57026e2 100644 --- a/src/librustc/ty/query/plumbing.rs +++ b/src/librustc/ty/query/plumbing.rs @@ -987,7 +987,7 @@ macro_rules! define_queries_inner { DepConstructor::$node(tcx, *key) } - #[inline(never)] + #[inline] fn compute(tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value { let provider = tcx.queries.providers.get(key.query_crate()) // HACK(eddyb) it's possible crates may be loaded after