about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorMax Niederman <max@maxniederman.com>2023-08-10 19:42:59 -0700
committerMax Niederman <max@maxniederman.com>2023-08-10 19:53:45 -0700
commita5f62bdfcdf826c1b03603e9a5bc3a052db853c2 (patch)
tree1ea5839f0ce0180f718bf3c1b1623ee990092af3 /compiler/rustc_mir_transform/src/coverage/mod.rs
parentadd2722677412c40cb4ef41ac46ede4792442f4d (diff)
downloadrust-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