pub fn all_predicates_of(
    tcx: TyCtxt<'_>,
    id: DefId
) -> impl Iterator<Item = &(Predicate<'_>, Span)>
Expand description

Gets an iterator over all predicates which apply to the given item.