Some tracing instrumentation cleanups
This commit is contained in:
parent
3d69d23a25
commit
759c04a00b
1 changed files with 2 additions and 3 deletions
|
@ -124,13 +124,12 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> {
|
||||||
self.declared_projection_bounds_from_trait(projection_ty)
|
self.declared_projection_bounds_from_trait(projection_ty)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn projection_bound(
|
#[instrument(level = "debug", skip(self, visited))]
|
||||||
|
fn projection_bound(
|
||||||
&self,
|
&self,
|
||||||
projection_ty: ty::ProjectionTy<'tcx>,
|
projection_ty: ty::ProjectionTy<'tcx>,
|
||||||
visited: &mut SsoHashSet<GenericArg<'tcx>>,
|
visited: &mut SsoHashSet<GenericArg<'tcx>>,
|
||||||
) -> VerifyBound<'tcx> {
|
) -> VerifyBound<'tcx> {
|
||||||
debug!("projection_bound(projection_ty={:?})", projection_ty);
|
|
||||||
|
|
||||||
let projection_ty_as_ty =
|
let projection_ty_as_ty =
|
||||||
self.tcx.mk_projection(projection_ty.item_def_id, projection_ty.substs);
|
self.tcx.mk_projection(projection_ty.item_def_id, projection_ty.substs);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue