summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0081.rs
AgeCommit message (Collapse)AuthorLines
2022-05-28Improve error message for E0081Bryysen-6/+17
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.
2021-07-28Show discriminant before overflow in diagnostic.Maarten de Vries-0/+11
2018-12-25Remove licensesMark Rousskov-10/+0
2018-03-08Reduce noise in error reportingOliver Schneider-1/+1
2018-02-08Move some E0XXX to `ui`Esteban Küber-0/+19