diff options
| author | bors <bors@rust-lang.org> | 2023-06-16 04:53:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-16 04:53:35 +0000 |
| commit | ee67c79598468634514262b6a6a3f02fca4a7b10 (patch) | |
| tree | d65729a4eacbdc88decea73d2c5536eec6045f4d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | cda13a8b26d2d739fe6a4541f5773c8f2f1b3a42 (diff) | |
| parent | 5821fbbc3072c16bc941a5e207bfd3a5e401304b (diff) | |
| download | rust-ee67c79598468634514262b6a6a3f02fca4a7b10.tar.gz rust-ee67c79598468634514262b6a6a3f02fca4a7b10.zip | |
Auto merge of #10835 - y21:drain-collect, r=dswij
new lint: `drain_collect` Closes #10818. This adds a new lint that looks for `.drain(..).collect()` and suggests replacing it with `mem::take`. changelog: [`drain_collect`]: new lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
