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:
authorMichael Wright <mikerite@lavabit.com>2019-01-19 11:36:27 +0200
committerMichael Wright <mikerite@lavabit.com>2019-01-19 11:36:27 +0200
commita773276da35afc67a2c3cb8b6ec7123f3866e8a8 (patch)
tree24020ceac0ae9e5988de51382a7f5f90b5002ab5 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent235f96005cb3c94f4f3d185e7c3d4ffaa08685aa (diff)
downloadrust-a773276da35afc67a2c3cb8b6ec7123f3866e8a8.tar.gz
rust-a773276da35afc67a2c3cb8b6ec7123f3866e8a8.zip
Fix bad `while_let_on_iterator` suggestion.
Don't suggest a `for` loop if the iterator is used inside the `while` loop.

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