fn check_dyn_incompatible_self_trait_by_name(
tcx: TyCtxt<'_>,
item: &TraitItem<'_>,
)
Expand description
Detect when a dyn-incompatible trait is referring to itself in one of its associated items.
In such cases, suggest using Self
instead.