about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-07-06 07:10:22 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-07-29 15:41:15 +0000
commit92bc9db8812aaa5913a01247ef3e1129e8f3d98e (patch)
tree3e80a8ddf66f10e649be5730a68ea0030d178ad3
parent6a0511d3d563ee90bd2b1cf9e6f903766046cec8 (diff)
downloadrust-92bc9db8812aaa5913a01247ef3e1129e8f3d98e.tar.gz
rust-92bc9db8812aaa5913a01247ef3e1129e8f3d98e.zip
never inline the only thing that calls a query, which could hit the instrument path
-rw-r--r--compiler/rustc_trait_selection/src/traits/fulfill.rs1
1 files changed, 1 insertions, 0 deletions
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 @@ impl<'a, 'b, 'tcx> ObligationProcessor for FulfillProcessor<'a, 'b, 'tcx> {
         }
     }
 
+    #[inline(never)]
     fn process_backedge<'c, I>(
         &mut self,
         cycle: I,