rust/clippy_lints
bors fe999e88ed Auto merge of #7741 - surechen:fix_if_then_panic, r=flip1995
Make if_then_panic handle situation of BinOpKind::And || BinOpKind::Or

fixes #7731

Make if_then_panic handle situation of cond.kind = ExprKind::DropTemps(ExprKind::Binary(BinOpKind::And || BinOpKind::Or, left, right), ..) =

changelog: [`if_then_panic`] Fix suggestion for more complex conditions
2021-10-01 10:04:19 +00:00
..
src Auto merge of #7741 - surechen:fix_if_then_panic, r=flip1995 2021-10-01 10:04:19 +00:00
Cargo.toml Merge remote-tracking branch 'upstream/master' into rustup 2021-09-28 10:52:31 +01:00
README.md

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