Function rustc_hir_analysis::check::bounds_from_generic_predicates
source · fn bounds_from_generic_predicates<'tcx>(
tcx: TyCtxt<'tcx>,
predicates: GenericPredicates<'tcx>
) -> (String, String)
Expand description
Re-sugar ty::GenericPredicates
in a way suitable to be used in structured suggestions.