{"ast_node_type":"function","tokens":[{"end":63,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn do_not_recommend_impl(self, def_id: DefId) -> bool {
    /// Whether this is a trait implementation that has `#[diagnostic::do_not_recommend]`
        self.get_diagnostic_attr(def_id, sym::do_not_recommend).is_some()