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