diff options
| author | Bryysen <Brukkenbrisen@gmail.com> | 2022-08-07 17:24:25 +0200 |
|---|---|---|
| committer | Bryysen <Brukkenbrisen@gmail.com> | 2022-08-07 17:43:52 +0200 |
| commit | 4ee2fe308bc68a0d93a86a09a1fd2506cc41e9b2 (patch) | |
| tree | e591124bdeca4e877b8f013f11ba2b9fb65f9292 /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | 5651759746e6eefa691f61522d19b46d07cf9244 (diff) | |
| download | rust-4ee2fe308bc68a0d93a86a09a1fd2506cc41e9b2.tar.gz rust-4ee2fe308bc68a0d93a86a09a1fd2506cc41e9b2.zip | |
Further improve error message for E0081
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
