about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorBryysen <Brukkenbrisen@gmail.com>2022-05-27 15:42:15 +0200
committerBryysen <Brukkenbrisen@gmail.com>2022-05-28 23:05:45 +0200
commitf671bc969f4bd07490eb30cf230883169924d7a8 (patch)
tree142938f7d741e394aaa0f56e35014c9eb43443fa /compiler/rustc_codegen_llvm/src/lib.rs
parent56fd680cf9226ab424f88d4e3b43c5e088d17f19 (diff)
downloadrust-f671bc969f4bd07490eb30cf230883169924d7a8.tar.gz
rust-f671bc969f4bd07490eb30cf230883169924d7a8.zip
Improve error message for E0081
Previously whenever a duplicate discriminant was detected for an Enum,
we would print the discriminant bits in the diagnostic without any
casting. This caused us to display incorrect values for negative
discriminants. After this PR we format the discriminant signedness
correctly. Also reworded some of the original error
messages.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions