fn get_parent(tcx: TyCtxt<'_>, did: DefId) -> Option<DefId>
If did is a method of an impl of a trait, then return the DefId that refers to the method on the trait definition.
did
impl
DefId