Tomasz Miąsko c2da477853 Fix pretty printing of enums without variants
92d20c4aaddea9507f8ad37fe37c551219153bbf removed no-variants special
case from try_destructure_const with expectation that this case would be
handled gracefully when read_discriminant returns an error.

Alas in that case read_discriminant succeeds while returning a
non-existing variant, so the special case is still necessary.
2022-02-19 17:10:11 +01:00
..
2022-02-15 16:19:59 +11:00
2022-02-15 16:19:59 +11:00
2022-02-12 19:24:43 +11:00