mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

The HIR Id trick is insufficient to prevent query cycles when optimizing generators, since merely requesting a layout of a generator also computes its `optimized_mir`. Make no attempts to inline functions into generators within the same crate to avoid query cycles.