{"ast_node_type":"variable","tokens":[{"end":77,"kind":"keyword","start":0,"text":"if"}]}
            if let ty::VariantDiscr::Explicit(const_def_id) = variant.discr {
        prev_discr = Some(
                def.eval_explicit_discr(tcx, const_def_id).ok()