{"ast_node_type":"function","tokens":[{"end":63,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn assoc_parent(self, def_id: DefId) -> Option<DefId> {
    /// If the given `DefId` is an associated item, returns the `DefId` of the parent trait or impl.
        self.def_kind(def_id).is_assoc().then(|| self.parent(def_id))