rust/clippy_lints
bors 4c70c182c0 Auto merge of #7895 - ahmedkrmn:master, r=Manishearth
Disable "if_not_else" lints from firing on else-ifs

Fixes #7892

1. Convert `['if_not_else']` to `LateLintPass` and use `clippy_utils::is_else_clause` for checking.
2. Update tests.

changelog: [`if_not_else`] now ignores else if statements.
2021-10-29 20:31:51 +00:00
..
src Auto merge of #7895 - ahmedkrmn:master, r=Manishearth 2021-10-29 20:31:51 +00:00
Cargo.toml Bump Clippy Version -> 0.1.58 2021-10-21 12:19:32 +02:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.