diff options
| author | bors <bors@rust-lang.org> | 2023-05-23 21:28:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-23 21:28:40 +0000 |
| commit | 97598e9e8ffb2e5e211ae5ce9cf1fc96f643710a (patch) | |
| tree | ef697b437105b30206867e71258845c4c48dacb6 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | fe792d9f7dceac7ddb38524a15031c0ea68730fa (diff) | |
| parent | e6646eb5fd180d94606f7e5a31f1168db6511dc3 (diff) | |
| download | rust-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
