diff options
| author | bors <bors@rust-lang.org> | 2022-02-28 20:09:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-28 20:09:18 +0000 |
| commit | e511476f240dfbb67b9d94a71ea45db9624e1519 (patch) | |
| tree | 780936189225e9619017c74964dda955ef3f5d86 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 8d12cd47790d1547a0d9bb8c592a3875666e26ca (diff) | |
| parent | d123ffc6c754b25cc68a67ffab0b5c7707eac6e5 (diff) | |
| download | rust-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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
