about summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0081.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-78/+0
2022-10-31Use AdtDef to check enum.Camille GILLOT-3/+3
2022-08-08Fix plural form of `variant` in error message not formatting correctlyBryysen-4/+19
due to ordering, added/improved comments and removed redundant test already caught by `E0081.rs`
2022-08-07Further improve error message for E0081Bryysen-8/+29
Multiple duplicate assignments of the same discriminant are now reported in the samme error. We now point out the incrementation start point for discriminants that are not explicitly assigned that are also duplicates. Removed old test related to E0081 that is now covered by error-codes/E0081.rs. Also refactored parts of the `check_enum` function.
2022-07-15Make item spans more consistentMichael Goulet-34/+27
2022-05-28Improve error message for E0081Bryysen-15/+43
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-2/+12
2018-12-25Remove licensesMark Rousskov-1/+1
2018-03-14update testsGuillaume Gomez-1/+1
2018-03-08Regenerate testsOliver Schneider-3/+3
2018-02-26Update UI testsVadim Petrochenkov-2/+2
2018-02-25Update ui testsGuillaume Gomez-0/+1
2018-02-08Move some E0XXX to `ui`Esteban Küber-0/+10