mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 19:57:02 +00:00

Remove incorrect transformation from RemoveZsts Partial removal of storage statements for a local is incorrect, so a decision to optimize cannot be make independently for each statement. Avoid the issue by performing the transformation completely or not at all.