about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorWesley Wiser <wesleywiser@microsoft.com>2021-06-25 13:33:00 -0400
committerWesley Wiser <wesleywiser@microsoft.com>2021-07-02 20:16:37 -0400
commitd94f087848ee05036769bd4dc78337ab3604a776 (patch)
treeedaa85b82e408ccead0f5c21696d18f388f85d48 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf24355896ba0986e4d27eff45084f704ec7e7948 (diff)
downloadrust-d94f087848ee05036769bd4dc78337ab3604a776.tar.gz
rust-d94f087848ee05036769bd4dc78337ab3604a776.zip
Show the variant name for univariant enums
Previously, only the fields would be displayed with no indication of the
variant name. If you already knew the enum was univariant, this was ok
but if the enum was univariant because of layout, for example, a
`Result<T, !>` then it could be very confusing which variant was the
active one.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions