{"ast_node_type":"other","tokens":[{"end":23,"kind":"keyword","start":0,"text":".iter()"}]}
                .iter()
            self.attrs_for_def(did)
                .find(|a| matches!(a.path().as_ref(), [sym::diagnostic, a] if *a == attr))