diff --git a/compiler/rustc_infer/src/infer/outlives/verify.rs b/compiler/rustc_infer/src/infer/outlives/verify.rs index e344e192a76..bd7b8a3004f 100644 --- a/compiler/rustc_infer/src/infer/outlives/verify.rs +++ b/compiler/rustc_infer/src/infer/outlives/verify.rs @@ -124,13 +124,12 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> { self.declared_projection_bounds_from_trait(projection_ty) } - pub fn projection_bound( + #[instrument(level = "debug", skip(self, visited))] + fn projection_bound( &self, projection_ty: ty::ProjectionTy<'tcx>, visited: &mut SsoHashSet>, ) -> VerifyBound<'tcx> { - debug!("projection_bound(projection_ty={:?})", projection_ty); - let projection_ty_as_ty = self.tcx.mk_projection(projection_ty.item_def_id, projection_ty.substs);