rust/clippy_lints
bors d5298bea7f Auto merge of #11314 - GuillaumeGomez:needless_ref_mut_async_block, r=Centri3
Correctly handle async blocks for NEEDLESS_PASS_BY_REF_MUT

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

The problem was that the `async block`s are popping a closure which we didn't go into, making it miss the mutable access to the variables.

cc `@Centri3`

changelog: none
2023-08-17 15:55:23 +00:00
..
src Auto merge of #11314 - GuillaumeGomez:needless_ref_mut_async_block, r=Centri3 2023-08-17 15:55:23 +00:00
Cargo.toml Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.