Skip to content

Commit 759c04a

Browse files
committed
Some tracing instrumentation cleanups
1 parent 3d69d23 commit 759c04a

File tree

1 file changed

+2
-3
lines changed
  • compiler/rustc_infer/src/infer/outlives

1 file changed

+2
-3
lines changed

compiler/rustc_infer/src/infer/outlives/verify.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,12 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> {
124124
self.declared_projection_bounds_from_trait(projection_ty)
125125
}
126126

127-
pub fn projection_bound(
127+
#[instrument(level = "debug", skip(self, visited))]
128+
fn projection_bound(
128129
&self,
129130
projection_ty: ty::ProjectionTy<'tcx>,
130131
visited: &mut SsoHashSet<GenericArg<'tcx>>,
131132
) -> VerifyBound<'tcx> {
132-
debug!("projection_bound(projection_ty={:?})", projection_ty);
133-
134133
let projection_ty_as_ty =
135134
self.tcx.mk_projection(projection_ty.item_def_id, projection_ty.substs);
136135

0 commit comments

Comments
 (0)