about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-28 20:09:18 +0000
committerbors <bors@rust-lang.org>2022-02-28 20:09:18 +0000
commite511476f240dfbb67b9d94a71ea45db9624e1519 (patch)
tree780936189225e9619017c74964dda955ef3f5d86 /compiler/rustc_llvm/llvm-wrapper
parent8d12cd47790d1547a0d9bb8c592a3875666e26ca (diff)
parentd123ffc6c754b25cc68a67ffab0b5c7707eac6e5 (diff)
downloadrust-e511476f240dfbb67b9d94a71ea45db9624e1519.tar.gz
rust-e511476f240dfbb67b9d94a71ea45db9624e1519.zip
Auto merge of #8479 - smoelius:unnecessary-filter-map, r=llogiq
Fix some `unnecessary_filter_map` false positives

This is a proposed fix for #4433.

It moves `clone_or_copy_needed` out of `unnecessary_iter_cloned.rs` and into `methods::utils`. It then adds a check of this function to `unnecessary_filter_map::check`.

Fixes #4433

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions