pub fn suggest_constraining_type_params<'a>(
    tcx: TyCtxt<'_>,
    generics: &Generics<'_>,
    err: &mut Diagnostic,
    param_names_and_constraints: impl Iterator<Item = (&'a str, &'a str, Option<DefId>)>
) -> bool
Expand description

Suggest restricting a type param with a new bound.