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
..
2023-07-01 07:08:01 -04:00
2023-07-08 13:02:54 -05:00
2023-07-01 07:08:01 -04:00
2023-07-08 13:02:54 -05:00
2023-07-08 13:02:54 -05:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-19 03:26:15 -05:00
2023-07-19 03:26:15 -05:00
2023-07-19 03:26:15 -05:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-08 19:11:15 -04:00
2023-07-08 19:11:15 -04:00
2023-07-02 07:11:05 -05:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-22 06:28:05 -05:00
2023-07-21 18:14:03 -07:00
2023-07-10 18:12:41 +02:00
2023-07-22 06:28:05 -05:00
2023-07-22 06:28:05 -05:00
2023-07-01 07:08:01 -04:00
2023-07-22 06:28:05 -05:00
2023-07-22 06:28:05 -05:00
2023-07-22 06:28:05 -05:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-21 18:14:03 -07:00
2023-07-21 18:14:03 -07:00
2023-07-21 18:14:03 -07:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00
2023-07-01 07:08:01 -04:00