{"ast_node_type":"variable","tokens":[{"end":80,"kind":"keyword","start":0,"text":"let"}]}
                            let def = e.enum_variants(db).variants[var_idx.0].0;
                        variants.iter_enumerated().find_map(|(var_idx, v)| {
                            (db.const_eval_discriminant(def) == Ok(tag)).then_some((def, v))