about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-12-03 13:42:43 +0100
committerlcnr <rust@lcnr.de>2024-12-03 13:42:43 +0100
commit67defd72e6a39a3a339ebe925ffb6f5a35f5a04e (patch)
treefd301fca527601dc09bc122c9f921954232531dc
parentefdd9e802053caeb52103945df858e87f837e59a (diff)
downloadrust-67defd72e6a39a3a339ebe925ffb6f5a35f5a04e.tar.gz
rust-67defd72e6a39a3a339ebe925ffb6f5a35f5a04e.zip
update instrumentation
-rw-r--r--compiler/rustc_borrowck/src/region_infer/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_borrowck/src/region_infer/mod.rs b/compiler/rustc_borrowck/src/region_infer/mod.rs
index 99af5500ac6..f4f87fa9f65 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>,