summaryrefslogtreecommitdiff
path: root/tests/trybuild/tuple-struct-without-attribute.rs
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2023-04-19 02:57:03 -0400
committerJohn Turner <jturner.usa@gmail.com>2023-04-19 02:57:03 -0400
commit4038d8be9593d556412ce9705a324785f7d9e125 (patch)
tree63c8133cb1401f387976ec7d69bf790eb1a30298 /tests/trybuild/tuple-struct-without-attribute.rs
parent0439506dcfb639bd494248450f7686b0a31580d3 (diff)
downloadget-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