diff options
| author | Michael Wright <mikerite@lavabit.com> | 2019-02-11 07:03:12 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2019-02-11 07:03:12 +0200 |
| commit | 217965e85527f1caf99e86153f11f676f778a360 (patch) | |
| tree | 2d8134d16c181855ac8cbf08af1732cd32c83e41 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | bd23cb89ec0ea63403a17d3fc5e50c88e38dd54f (diff) | |
| download | rust-217965e85527f1caf99e86153f11f676f778a360.tar.gz rust-217965e85527f1caf99e86153f11f676f778a360.zip | |
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
