pub fn self_predicate<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
) -> Option<PolyTraitRef<'tcx>>
Expand description
The special “self” predicate on a trait.
pub fn self_predicate<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
) -> Option<PolyTraitRef<'tcx>>
The special “self” predicate on a trait.