about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-23 07:21:05 +0000
committerbors <bors@rust-lang.org>2023-07-23 07:21:05 +0000
commit43577d58f96d95d80cfff206b33f6b2545139a19 (patch)
treef0aef4ab2406e9dca5d1f2d361bdeb4f01b377e6 /compiler/rustc_codegen_gcc
parent356768b3175e52f4d0679c306e0405c318b0f470 (diff)
parent5e9e46278e1e69b0c8379f05f986b548572bdba8 (diff)
downloadrust-43577d58f96d95d80cfff206b33f6b2545139a19.tar.gz
rust-43577d58f96d95d80cfff206b33f6b2545139a19.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions