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:
authorJoshua Holmer <jholmer@dminc.com>2018-10-12 10:26:55 -0400
committerJoshua Holmer <jholmer@dminc.com>2018-10-12 12:11:56 -0400
commitd3c06f7252fdca30b19aa6ff8ecf63c86675676e (patch)
treebcb879456bc372fe187052e580bb7e30b5702ec4 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentd445dbfe162212f90efbe2df9795a257a347a767 (diff)
downloadrust-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