{"ast_node_type":"other","tokens":[{"end":32,"kind":"keyword","start":0,"text":"Res::Def(_,"}]}
        Res::Def(_, def_id) => {
    match &path.res {
            if let Some(name @ (sym::Ty | sym::TyCtxt)) = cx.tcx.get_diagnostic_name(*def_id) {