{"ast_node_type":"function","tokens":[{"end":71,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn is_diagnostic_item(self, name: Symbol, did: DefId) -> bool {
    /// Check whether the diagnostic item with the given `name` has the given `DefId`.
        self.diagnostic_items(did.krate).name_to_id.get(&name) == Some(&did)