Debuginfo does not describe enums with uninhabited variants correctly #109401
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: gdb reports that
x
isNone
.Instead, this happened: gdb reports that
x
isSome
:Meta
rustc --version --verbose
:Also affects beta and nightly.
The text was updated successfully, but these errors were encountered: