fn resolve_trait_method(tcx: TyCtxt<'_>, def_id: DefId) -> DefIdExpand description
If def_id is a trait-method implementation, returns the corresponding
trait method’s [DefId]; otherwise returns def_id unchanged.
fn resolve_trait_method(tcx: TyCtxt<'_>, def_id: DefId) -> DefIdIf def_id is a trait-method implementation, returns the corresponding
trait method’s [DefId]; otherwise returns def_id unchanged.