mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
4c70c182c0
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.