rust/tests
bors fdf819df9a Auto merge of #12227 - y21:issue12225, r=Manishearth
[`redundant_locals`]: take by-value closure captures into account

Fixes #12225

The same problem in the linked issue can happen to regular closures too, and conveniently async blocks are closures in the HIR so fixing closures will fix async blocks as well.

changelog: [`redundant_locals`]: avoid linting when redefined variable is captured by-value
2024-02-05 18:37:05 +00:00
..
test_utils
ui Auto merge of #12227 - y21:issue12225, r=Manishearth 2024-02-05 18:37:05 +00:00
ui-cargo Add lint_groups_priority lint 2024-01-31 18:33:41 +00:00
ui-internal Merge remote-tracking branch 'upstream/master' into rustup 2024-01-25 18:39:39 +01:00
ui-toml rename conf option to allowed_wildcard_imports 2024-02-02 09:22:42 +08:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs