Function rustc_middle::ty::diagnostics::suggest_removing_unsized_bound
source · fn suggest_removing_unsized_bound(
tcx: TyCtxt<'_>,
generics: &Generics<'_>,
suggestions: &mut Vec<(Span, String, SuggestChangingConstraintsMessage<'_>)>,
param: &GenericParam<'_>,
def_id: Option<DefId>
)