Skip to content

Conversation

alexcrichton
Copy link
Member

Closes #11288
Closes #11222

bors added a commit that referenced this pull request Jan 5, 2014
@bors bors closed this Jan 5, 2014
@bors bors merged commit 2453079 into rust-lang:master Jan 5, 2014
@alexcrichton alexcrichton deleted the testname branch January 5, 2014 17:34
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2023
…_mutated, r=Alexendoo

redundant_locals: fix FPs on mutated shadows

Fixes rust-lang#11290.

When a mutable binding is shadowed by
a mutable binding of the same name in a different scope, mutations in that scope have different meaning.
This PR fixes spurious `redundant_locals` emissions on such locals.

cc `@Centri3,` `@flip1995`

changelog: [`redundant_locals`]: fix false positives on mutated shadows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc crate tests ignore TESTNAME TESTNAME doesn't work with run-make tests

3 participants