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-12 10:27:18 +0000
committerbors <bors@rust-lang.org>2019-02-12 10:27:18 +0000
commited3287605d9e773744cb41305efcf6402c30936a (patch)
treeffb03bef949ac8754bb86750a079c6a493cbfce8 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent206636858301328c7c407329d10e8dc86d6fb61a (diff)
parent217965e85527f1caf99e86153f11f676f778a360 (diff)
downloadrust-ed3287605d9e773744cb41305efcf6402c30936a.tar.gz
rust-ed3287605d9e773744cb41305efcf6402c30936a.zip
Auto merge of #3757 - mikerite:fix-2542, r=oli-obk
Fix `needless_range_loop` bad suggestion

Detect if the index variable is used inside a closure.

Fixes #2542
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions