bounds_from_generic_predicates

Function bounds_from_generic_predicates 

Source
fn bounds_from_generic_predicates<'tcx>(
    tcx: TyCtxt<'tcx>,
    predicates: impl IntoIterator<Item = (Clause<'tcx>, Span)>,
    assoc: AssocItem,
) -> (String, String)
Expand description

Re-sugar ty::GenericPredicates in a way suitable to be used in structured suggestions.