diff options
| author | John Turner <jturner.usa@gmail.com> | 2023-04-19 02:57:03 -0400 |
|---|---|---|
| committer | John Turner <jturner.usa@gmail.com> | 2023-04-19 02:57:03 -0400 |
| commit | 4038d8be9593d556412ce9705a324785f7d9e125 (patch) | |
| tree | 63c8133cb1401f387976ec7d69bf790eb1a30298 /tests/trybuild/tuple-struct-without-attribute.rs | |
| parent | 0439506dcfb639bd494248450f7686b0a31580d3 (diff) | |
| download | get-4038d8be9593d556412ce9705a324785f7d9e125.tar.gz | |
refactored code with if_chain
Adding a separate error for the case of an empty attribute list allows the code to
be less complicated and gives better diagnostics. Otherwise another
nested block would be required.
Diffstat (limited to 'tests/trybuild/tuple-struct-without-attribute.rs')
0 files changed, 0 insertions, 0 deletions
