407bfd483a
Check if `if` conditions always evaluate to true in `never_loop` This fixes the example provided in #11004, but it shouldn't be closed as this is still an issue on like ```rust let x = true; if x { /* etc */ }` ``` This also makes `clippy_utils::consts::constant` handle `ConstBlock` and `DropTemps`. changelog: [`never_loop`]: Check if `if` conditions always evaluate to true |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |