about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-20 07:48:54 +0000
committerbors <bors@rust-lang.org>2023-09-20 07:48:54 +0000
commitece3878c8cc74da936d067ee25a4ccc959ea55dd (patch)
treed8c0c9978990f202ef290c6c4477c1505c7d6067 /compiler/rustc_codegen_llvm/src/errors.rs
parentf464149b8f3e4d24139491a8f4049bc6eef0de38 (diff)
parentb8b420cc79dc18423a9bf59ee3397a398e9aac2a (diff)
downloadrust-ece3878c8cc74da936d067ee25a4ccc959ea55dd.tar.gz
rust-ece3878c8cc74da936d067ee25a4ccc959ea55dd.zip
Auto merge of #11492 - GuillaumeGomez:async-fn-returned-closure, r=Centri3
Fix mutaby used async function argument in closure for `needless_pass_by_ref_mut`

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

The problem was that it needed to go through closures as well in async functions to correctly find the mutable usage of async function arguments.

changelog: Correctly handle mutable usage of async function arguments in closures.

r? `@Centri3`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions