bors 1e8fdf4928 Auto merge of #11320 - max-niederman:redundant_locals_shadow_mutated, r=Alexendoo
redundant_locals: fix FPs on mutated shadows

Fixes #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
2023-08-11 10:58:13 +00:00
..
2023-07-27 17:56:25 +00:00
2023-06-26 14:13:07 +00:00
2022-10-01 10:03:06 +00:00
2023-06-06 14:58:54 -04:00
2023-06-26 14:13:07 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2019-11-07 17:11:06 +01:00
fix
2023-07-23 09:58:31 +00:00
fix
2023-07-23 09:58:31 +00:00
fix
2023-07-23 09:58:31 +00:00
2023-08-10 16:33:07 -05:00
2023-08-10 16:33:07 -05:00
2023-08-10 16:33:07 -05:00
2023-06-26 14:13:07 +00:00
2023-06-15 20:23:11 +02:00
2023-06-28 03:20:21 -05:00
2023-06-26 14:13:07 +00:00
2023-06-06 22:56:57 +02:00
2023-07-25 14:30:58 +02:00
2023-07-25 14:30:58 +02:00
2023-07-22 06:28:05 -05:00
2022-10-01 10:03:06 +00:00
2023-06-12 16:21:06 +01:00
2023-05-03 20:55:14 +02:00
2023-06-26 14:13:07 +00:00
2022-01-11 09:53:29 +01:00