{"ast_node_type":"other","tokens":[{"end":69,"kind":"keyword","start":0,"text":"if"}]}
        if layout.for_variant(self, variant_index).is_uninhabited() {
        // discriminant, so we have to bail out here.
            throw_ub!(UninhabitedEnumVariantWritten(variant_index))