mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
a4d30a7b49
Remove unused set-discriminant statements and assignments regardless of rvalue * Represent use counts with u32 * Unify use count visitors * Change RemoveStatements visitor into a function * Remove unused set-discriminant statements * Use exhaustive match to clarify what is being optimized * Remove unused assignments regardless of rvalue kind