rust/clippy_lints
bors 43577d58f9 Auto merge of #11184 - GuillaumeGomez:needless_pass_by_ref_mut-async, r=llogiq
Fix async functions handling for `needless_pass_by_ref_mut` lint

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

The problem with async is that "internals" are actually inside a closure from the `ExprUseVisitor` point of view, meaning we need to actually run the check on the closures' body as well.

changelog: none

r? `@llogiq`
2023-07-23 07:21:05 +00:00
..
src Auto merge of #11184 - GuillaumeGomez:needless_pass_by_ref_mut-async, r=llogiq 2023-07-23 07:21:05 +00:00
Cargo.toml Bump Clippy version -> 0.1.73 2023-07-14 13:36:23 +02:00
README.md

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