From 92bc9db8812aaa5913a01247ef3e1129e8f3d98e Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Wed, 6 Jul 2022 07:10:22 +0000 Subject: [PATCH] never inline the only thing that calls a query, which could hit the instrument path --- compiler/rustc_trait_selection/src/traits/fulfill.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_trait_selection/src/traits/fulfill.rs b/compiler/rustc_trait_selection/src/traits/fulfill.rs index 556ef466cd1..d840677f1ca 100644 --- a/compiler/rustc_trait_selection/src/traits/fulfill.rs +++ b/compiler/rustc_trait_selection/src/traits/fulfill.rs @@ -597,6 +597,7 @@ fn process_obligation( } } + #[inline(never)] fn process_backedge<'c, I>( &mut self, cycle: I,