about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-23 21:28:40 +0000
committerbors <bors@rust-lang.org>2023-05-23 21:28:40 +0000
commit97598e9e8ffb2e5e211ae5ce9cf1fc96f643710a (patch)
treeef697b437105b30206867e71258845c4c48dacb6 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parentfe792d9f7dceac7ddb38524a15031c0ea68730fa (diff)
parente6646eb5fd180d94606f7e5a31f1168db6511dc3 (diff)
downloadrust-97598e9e8ffb2e5e211ae5ce9cf1fc96f643710a.tar.gz
rust-97598e9e8ffb2e5e211ae5ce9cf1fc96f643710a.zip
Auto merge of #10810 - samueltardieu:needless-else, r=llogiq
needless_else: new lint to check for empty `else` clauses

Empty `else` clauses are useless. They happen in the wild and are not linted yet: https://github.com/uutils/coreutils/pull/4880/files

`else` clauses containing or preceded by comments are not linted as the comments might be important.

changelog: [`needless_else`]: new lint
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions