{"ast_node_type":"enum","tokens":[{"end":65,"kind":"keyword","start":0,"text":"err.note(\"enum"}]}
            err.note("enum variants can't have type parameters");
        GenericsArgsErrExtend::EnumVariant { qself, assoc_segment, adt_def } => {
            let type_name = tcx.item_name(adt_def.did());