diff options
| author | bors <bors@rust-lang.org> | 2024-03-22 15:11:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-22 15:11:52 +0000 |
| commit | 52b2a5e50d37149403a692153127cc4aac686a7f (patch) | |
| tree | 6e5f1bbb8ce550ffea4cc402bc3a18c70677f721 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b5e739440075ae0d38b2ee74ed34af627a54f92c (diff) | |
| parent | 7c9fe30ce4313cc9e77030ca1e66a7c88a8ffd02 (diff) | |
| download | rust-52b2a5e50d37149403a692153127cc4aac686a7f.tar.gz rust-52b2a5e50d37149403a692153127cc4aac686a7f.zip | |
Auto merge of #12529 - samueltardieu:issue-12528, r=y21
Do not warn on .map(_::clone) for Arc, Rc, and their weak variants Those constructions are idiomatic, and using `Arc::clone(x)` and `Rc::clone(x)` is often the recommended way of cloning a `Arc` or a `Rc`. Fix #12528 changelog: [`map_clone`]: do not warn on `.map(_::clone)` for `Arc`, `Rc`, and their `Weak` variants
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
