diff options
| author | bors <bors@rust-lang.org> | 2023-09-20 07:48:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-20 07:48:54 +0000 |
| commit | ece3878c8cc74da936d067ee25a4ccc959ea55dd (patch) | |
| tree | d8c0c9978990f202ef290c6c4477c1505c7d6067 /compiler/rustc_codegen_llvm/src | |
| parent | f464149b8f3e4d24139491a8f4049bc6eef0de38 (diff) | |
| parent | b8b420cc79dc18423a9bf59ee3397a398e9aac2a (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
