From 67defd72e6a39a3a339ebe925ffb6f5a35f5a04e Mon Sep 17 00:00:00 2001 From: lcnr Date: Tue, 3 Dec 2024 13:42:43 +0100 Subject: [PATCH] update instrumentation --- compiler/rustc_borrowck/src/region_infer/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/rustc_borrowck/src/region_infer/mod.rs b/compiler/rustc_borrowck/src/region_infer/mod.rs index 99af5500ac63..f4f87fa9f650 100644 --- a/compiler/rustc_borrowck/src/region_infer/mod.rs +++ b/compiler/rustc_borrowck/src/region_infer/mod.rs @@ -981,8 +981,6 @@ impl<'tcx> RegionInferenceContext<'tcx> { return false; }; - debug!("subject = {:?}", subject); - let r_scc = self.constraint_sccs.scc(*lower_bound); debug!( @@ -1063,7 +1061,7 @@ impl<'tcx> RegionInferenceContext<'tcx> { /// variables in the type `T` with an equal universal region from the /// closure signature. /// This is not always possible, so this is a fallible process. - #[instrument(level = "debug", skip(self, infcx))] + #[instrument(level = "debug", skip(self, infcx), ret)] fn try_promote_type_test_subject( &self, infcx: &InferCtxt<'tcx>,