mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
237bb5e008
Disable RemoveZsts in generators to avoid query cycles Querying layout of a generator requires its optimized MIR. Thus computing layout during MIR optimization of a generator might create a query cycle. Disable RemoveZsts in generators to avoid the issue (similar approach is used in ConstProp transform already). Fixes #88972.