about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-05-16 14:23:15 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-05-16 14:23:15 +0000
commit340e708634e7cc560c04e27b91297ff04f897683 (patch)
tree966a01c80868e3bac0e9120c95ccfbff67543d6a /compiler/rustc_borrowck
parent56d540e0571ac1b0633ce10644224c495aaf42a0 (diff)
downloadrust-340e708634e7cc560c04e27b91297ff04f897683.tar.gz
rust-340e708634e7cc560c04e27b91297ff04f897683.zip
Some tracing cleanups
Diffstat (limited to 'compiler/rustc_borrowck')
-rw-r--r--compiler/rustc_borrowck/src/type_check/free_region_relations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/free_region_relations.rs b/compiler/rustc_borrowck/src/type_check/free_region_relations.rs
index f08f2e1b12d..aa17e273679 100644
--- a/compiler/rustc_borrowck/src/type_check/free_region_relations.rs
+++ b/compiler/rustc_borrowck/src/type_check/free_region_relations.rs
@@ -334,8 +334,8 @@ impl<'tcx> UniversalRegionRelationsBuilder<'_, 'tcx> {
     /// either the return type of the MIR or one of its arguments. At
     /// the same time, compute and add any implied bounds that come
     /// from this local.
+    #[instrument(level = "debug", skip(self))]
     fn add_implied_bounds(&mut self, ty: Ty<'tcx>) -> Option<Rc<QueryRegionConstraints<'tcx>>> {
-        debug!("add_implied_bounds(ty={:?})", ty);
         let TypeOpOutput { output: bounds, constraints, .. } = self
             .param_env
             .and(type_op::implied_outlives_bounds::ImpliedOutlivesBounds { ty })