about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorAhmed Karaman <20889958+ahmedkrmn@users.noreply.github.com>2021-10-29 04:11:43 +0200
committerAhmed Karaman <20889958+ahmedkrmn@users.noreply.github.com>2021-10-29 22:07:05 +0200
commit2f327aaba594b86ca15a9b81aebc0d8e5667b30f (patch)
treec115e7bfb8a1a8349c6a1e091bddeb010819d6c0 /compiler/rustc_codegen_llvm/src
parent00821ca937ab400e465a008eecdef60e985665ad (diff)
downloadrust-2f327aaba594b86ca15a9b81aebc0d8e5667b30f.tar.gz
rust-2f327aaba594b86ca15a9b81aebc0d8e5667b30f.zip
Disable "if_not_else" lints firing on else-ifs
1. Convert IfNotElse to LateLintPass and use clippy_utils::is_else_clause for checking.
2. Handle the case where the span comes from desugaring.
3. Update tests.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions