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
..
2021-10-26 10:52:35 -07:00
2021-10-15 12:44:49 -04:00
2021-10-15 12:44:49 -04:00
2021-10-15 12:44:49 -04:00
2021-10-20 06:13:42 +02:00
2021-10-28 09:38:01 -05:00
2021-10-26 13:55:51 -07:00
2021-10-26 09:05:28 +02:00
2021-10-26 09:05:28 +02:00
2021-10-15 12:44:49 -04:00
2021-10-19 14:33:43 -07:00
2021-10-19 14:33:43 -07:00
2021-10-27 06:32:37 -07:00
2021-10-27 06:32:37 -07:00