about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-15 05:08:16 +0000
committerbors <bors@rust-lang.org>2024-01-15 05:08:16 +0000
commit692f53fe8fb5ea7980fb83825b12d2a5d3e60b0f (patch)
tree41f23782d9a1c219f03bc4df3182980b36b99f92 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd6ff2d2c2dc8340e50af7a6fc18e13d538109d1e (diff)
parentbe5707ce1b608f607ca9327537076dc95869347b (diff)
downloadrust-692f53fe8fb5ea7980fb83825b12d2a5d3e60b0f.tar.gz
rust-692f53fe8fb5ea7980fb83825b12d2a5d3e60b0f.zip
Auto merge of #12136 - y21:issue12135, r=Jarcho
[`useless_asref`]: check that the clone receiver is the parameter

Fixes #12135

There was no check for the receiver of the `clone` call in the map closure. This makes sure that it's a path to the parameter.

changelog: [`useless_asref`]: check that the clone receiver is the closure parameter
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions