diff options
| author | bors <bors@rust-lang.org> | 2023-06-08 04:18:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-08 04:18:08 +0000 |
| commit | 9ca1344d9ad5724fcac3e29b9d6fa084f3e59f52 (patch) | |
| tree | 5548f08b24a729e4153e4c3cb5a2e23681bd996f /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 2360f801432d3ecd8744164332b519e43f35fe96 (diff) | |
| parent | 3e8f53b51de543feca85af0d413376b18f598cb9 (diff) | |
| download | rust-9ca1344d9ad5724fcac3e29b9d6fa084f3e59f52.tar.gz rust-9ca1344d9ad5724fcac3e29b9d6fa084f3e59f52.zip | |
Auto merge of #10904 - lochetti:fix_10273, r=Centri3
`suspicious_else_formatting`: Don't warn if there is a comment between else and curly bracket
This PR fixes https://github.com/rust-lang/rust-clippy/issues/10273
The idea is that if the only thing after `else` and before `{` is a comment, we will not warn because, probably, the line break was "made" by rustfmt.
changelog: [`suspicious_else_formatting`]: Don't warn if the only thing between `else` and curly bracket is a comment
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
