diff options
| author | bors <bors@rust-lang.org> | 2024-01-06 16:54:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-06 16:54:20 +0000 |
| commit | 17b24182083077f1473f9022fb2775ead5810bfe (patch) | |
| tree | 6a0e5436d8acf1dc5170978adb9e1cff7b1ee49a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5d57ba86a83420dca65eae2264f52ddcdf827634 (diff) | |
| parent | af35d37749166b550e18a65325deb76cc05a343a (diff) | |
| download | rust-17b24182083077f1473f9022fb2775ead5810bfe.tar.gz rust-17b24182083077f1473f9022fb2775ead5810bfe.zip | |
Auto merge of #12104 - GuillaumeGomez:map-clone, r=llogiq
Extend `map_clone` lint to also work on non-explicit closures I found it weird that this case was not handled by the current line so I added it. The only thing is that I don't see an obvious way to infer the current type to determine if it's copyable or not, so for now I always suggest `cloned` and I added a FIXME. r? `@llogiq` changelog: Extend `map_clone` lint to also work on non-explicit closures
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
