Skip to main content

bounds_from_generic_clauses

Function bounds_from_generic_clauses 

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

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