diff options
| author | Max Niederman <max@maxniederman.com> | 2023-08-10 19:42:59 -0700 |
|---|---|---|
| committer | Max Niederman <max@maxniederman.com> | 2023-08-10 19:53:45 -0700 |
| commit | a5f62bdfcdf826c1b03603e9a5bc3a052db853c2 (patch) | |
| tree | 1ea5839f0ce0180f718bf3c1b1623ee990092af3 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | add2722677412c40cb4ef41ac46ede4792442f4d (diff) | |
| download | rust-a5f62bdfcdf826c1b03603e9a5bc3a052db853c2.tar.gz rust-a5f62bdfcdf826c1b03603e9a5bc3a052db853c2.zip | |
redundant_locals: fix FPs on mutated shadows
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 commit fixes spurious `redundant_locals` emissions on such locals.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
