pub fn all_clauses_of( tcx: TyCtxt<'_>, id: DefId, ) -> impl Iterator<Item = &(Clause<'_>, Span)>
Gets an iterator over all clauses which apply to the given item.