about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-21 21:38:41 +0000
committerbors <bors@rust-lang.org>2024-02-21 21:38:41 +0000
commit250fd094052291756011bf22eaa2adfbc060ece1 (patch)
treefc1f9491ab9cad90cc2b1988e5ff2027765fd7ab /compiler/rustc_codegen_llvm/src
parenta056ff37c798fc44ecc9c7dd9748ab8209aa699f (diff)
parent635acb6804ac5e944ca86375c05c262c582163e7 (diff)
downloadrust-250fd094052291756011bf22eaa2adfbc060ece1.tar.gz
rust-250fd094052291756011bf22eaa2adfbc060ece1.zip
Auto merge of #12324 - GuillaumeGomez:useless_allocation2, r=y21
Extend `unnecessary_to_owned` to handle `Borrow` trait in map types

Fixes https://github.com/rust-lang/rust-clippy/issues/8088.

Alternative to #12315.

r? `@y21`

changelog: Extend `unnecessary_to_owned` to handle `Borrow` trait in map types
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions