Function rustc_hir_analysis::collect::suggest_impl_trait
source · fn suggest_impl_trait<'tcx>(
tcx: TyCtxt<'tcx>,
ret_ty: Ty<'tcx>,
span: Span,
def_id: LocalDefId
) -> Option<String>
fn suggest_impl_trait<'tcx>(
tcx: TyCtxt<'tcx>,
ret_ty: Ty<'tcx>,
span: Span,
def_id: LocalDefId
) -> Option<String>