bors ece3878c8c 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`
2023-09-20 07:48:54 +00:00
..
2023-09-07 22:39:11 +02:00
2023-09-06 14:59:54 +00:00
2023-09-17 19:44:25 +08:00
2023-09-12 17:32:11 +02:00
2023-09-07 22:39:11 +02:00
2023-09-16 00:05:57 +08:00
2023-09-16 00:05:57 +08:00
2023-09-07 22:39:11 +02:00
2023-09-04 06:35:51 +02:00
2023-09-04 06:35:51 +02:00