diff options
| author | Joshua Holmer <jholmer@dminc.com> | 2018-10-12 10:26:55 -0400 |
|---|---|---|
| committer | Joshua Holmer <jholmer@dminc.com> | 2018-10-12 12:11:56 -0400 |
| commit | d3c06f7252fdca30b19aa6ff8ecf63c86675676e (patch) | |
| tree | bcb879456bc372fe187052e580bb7e30b5702ec4 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | d445dbfe162212f90efbe2df9795a257a347a767 (diff) | |
| download | rust-d3c06f7252fdca30b19aa6ff8ecf63c86675676e.tar.gz rust-d3c06f7252fdca30b19aa6ff8ecf63c86675676e.zip | |
Exclude pattern guards from unnecessary_fold lint
Methods like `Iterator::any` borrow the iterator mutably, which is not allowed within a pattern guard and will fail to compile. This commit prevents clippy from suggesting this type of change. Closes #3069
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
