{"ast_node_type":"other","tokens":[{"end":29,"kind":"keyword","start":0,"text":".opt_def_id()"}]}
                .opt_def_id()
            seg.res
                .is_some_and(|def_id| cx.tcx.is_diagnostic_item(sym::type_ir, def_id))