about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-01 10:04:19 +0000
committerbors <bors@rust-lang.org>2021-10-01 10:04:19 +0000
commitfe999e88edd2254124be6419607bd29156841f59 (patch)
tree7cd32c89cfc861602d3e6c07b562b1c87a557893 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf8303ada90e1a314cf37875f8285d3d174553c33 (diff)
parent41e2c68a6e3e6d06c6e3549ae4e79f145fb4ba1b (diff)
downloadrust-fe999e88edd2254124be6419607bd29156841f59.tar.gz
rust-fe999e88edd2254124be6419607bd29156841f59.zip
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions