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-21 09:36:13 +0000
committerbors <bors@rust-lang.org>2019-02-21 09:36:13 +0000
commita5c16e58924249bdb6f6f530345dd08495c09dfc (patch)
tree554e87b6d22ecd02058141fe7310244287000bc0 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent027dde92e22b9058c2bd6efa4b3e47b78d991dc7 (diff)
parent7767b3a08172abaabd8e047a8468b7c8e934cd4f (diff)
downloadrust-a5c16e58924249bdb6f6f530345dd08495c09dfc.tar.gz
rust-a5c16e58924249bdb6f6f530345dd08495c09dfc.zip
Auto merge of #3789 - bzzzzzz:needless_range_loop_bugfix, r=oli-obk
Make needless_range_loop not applicable to structures without iter method

Fixes https://github.com/rust-lang/rust-clippy/issues/3788

Now we will start lint indexed structure only if it has known iter or iter_mut method implemented.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions