diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-05-28 15:42:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-28 15:42:03 +0000 |
| commit | 3a1159ed9f8d6939b15a028313daf93d0d83964f (patch) | |
| tree | c3c989a142b58419c8241eb9502c6a6231f3c082 /compiler/rustc_codegen_llvm/src | |
| parent | 291b8fd3beeb65beba848958412c6e3eb7eaa525 (diff) | |
| parent | c364717b15dc7db94ea1f986c2388726b4cc34c3 (diff) | |
| download | rust-3a1159ed9f8d6939b15a028313daf93d0d83964f.tar.gz rust-3a1159ed9f8d6939b15a028313daf93d0d83964f.zip | |
`needless_return`: look inside `else if` parts as well (#14798)
`if` expressions don't necessarily contain a block in the `else` part in the presence of an `else if`. The `else` part, if present, must be handled as a regular expression, not necessarily as a block expression. Found while applying Clippy to triagebot and looking at the result. This also found an issue in Clippy itself. changelog: [`needless_return`]: look inside `else if` parts as well
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
