rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
10.89k stars 1.45k forks source link

[`overly_complex_bool_expr`]: Fix trigger wrongly on never type #12700

Open Luv-Ray opened 3 weeks ago

Luv-Ray commented 3 weeks ago

fixes #12689


changelog: fix [overly_complex_bool_expr] triggers wrongly on never type

rustbot commented 3 weeks ago

r? @Jarcho

rustbot has assigned @Jarcho. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer