about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-11 00:29:21 +0000
committerbors <bors@rust-lang.org>2023-04-11 00:29:21 +0000
commit5ec2e192f58aa4fc82e3b4551e16e0f83d368569 (patch)
tree60a43de044c44d95f3bea91bbb3b108bdc7bf975 /compiler/rustc_codegen_gcc
parente22019d0b78778a8a3ae1067082d2481690d4210 (diff)
parentd8f0a96ba23d6d7f348a2538c223b61254c64031 (diff)
downloadrust-5ec2e192f58aa4fc82e3b4551e16e0f83d368569.tar.gz
rust-5ec2e192f58aa4fc82e3b4551e16e0f83d368569.zip
Auto merge of #10614 - bluthej:clear-with-drain, r=Manishearth
Clear with drain

Fixes #10572: both the original intent of the issue (extending `clear_with_drain`) and the false negative for `collection_is_never_read` I found in the process are fixed by this PR.

changelog: [`clear_with_drain`]: extend to 5 other types of containers. [`collection_is_never_read`]: fix false negative for `String`s.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions