fn attempt_dyn_to_impl_suggestion( tcx: TyCtxt<'_>, hir_id: Option<HirId>, err: &mut Diag<'_>, )
Attempt to suggest that a dyn Trait argument or return type be converted to use impl Trait.
dyn Trait
impl Trait