{"ast_node_type":"variable","tokens":[{"end":66,"kind":"keyword","start":0,"text":"let"}]}
                        let enum_data = id.enum_variants(self.db);
                    if let Some((AdtId::EnumId(id), _)) = ty.as_adt() {
                        if let Some(variant) = enum_data.variant(current_segment.name) {