about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-26 15:51:40 +0000
committerbors <bors@rust-lang.org>2019-02-26 15:51:40 +0000
commit0957f7d3b775766732d91f4a7c6bb73c9dcc1865 (patch)
tree48aac358861d8e2d83ae0cbedaab74e6565c49f9 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent412d41ae86bf90af21676af17e24cf745177d903 (diff)
parentc0c0686a6571492da6b6fdf8bed0e8527c2d19c5 (diff)
downloadrust-0957f7d3b775766732d91f4a7c6bb73c9dcc1865.tar.gz
rust-0957f7d3b775766732d91f4a7c6bb73c9dcc1865.zip
Auto merge of #3817 - rust-lang:fix-bool_comparison-on-non-bool, r=oli-obk
Fix `bool_comparison` with non-`bool` expressions

Fixes #3703.
It just moves around the type check that was already there for some comparison to all of them, because if one type isn't `bool`, none of those comparison can be simplified.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions