• M
    redundant_locals: fix FPs on mutated shadows · a5f62bdf
    Max Niederman 提交于
    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.
    a5f62bdf
redundant_locals.stderr 2.9 KB