{"ast_node_type":"other","tokens":[{"end":47,"kind":"keyword","start":0,"text":"assert!(def.is_enum());"}]}
                        assert!(def.is_enum());
                    let variant = if let Some(idx) = variant_index {
                        def.variant(idx)