rust/compiler/rustc_const_eval
Tomasz Miąsko c2da477853 Fix pretty printing of enums without variants
92d20c4aad 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
..
src Fix pretty printing of enums without variants 2022-02-19 17:10:11 +01:00
Cargo.toml Remove unused dependencies from rustc_const_eval 2021-10-14 15:42:42 -05:00