{"ast_node_type":"other","tokens":[{"end":58,"kind":"keyword","start":0,"text":"self.write_variant_resolution(id,"}]}
        self.write_variant_resolution(id, variant.into());
        let variant = enum_data.variant(name)?;
        Some((ValueNs::EnumVariantId(variant), subst.clone()))