about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-01-25 23:48:02 +0000
committerGitHub <noreply@github.com>2025-01-25 23:48:02 +0000
commit913592373d40ec6c67774fcf32143bc548b4b6ac (patch)
treea94271dee96cb4ed614bb6c0c404225c20fb04cf /compiler/rustc_codegen_llvm/src
parent4825666bd359c429c7e218e318a36299c161de58 (diff)
parentdb977689fdf5f0961b0414c5518694083a763bc0 (diff)
downloadrust-913592373d40ec6c67774fcf32143bc548b4b6ac.tar.gz
rust-913592373d40ec6c67774fcf32143bc548b4b6ac.zip
trigger `obfuscated_if_else` for `.then(..).unwrap_or(..)` (#14021)
part of https://github.com/rust-lang/rust-clippy/issues/9100

The `obfuscated_if_else` lint currently only triggers for the pattern
`.then_some(..).unwrap_or(..)`, but there're other cases where this lint
should be triggered, one of which is `.then(..).unwrap_or(..)`.

changelog: [`obfuscated_if_else`]: trigger lint for the
`.then(..).unwrap_or(..)` pattern as well
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions