mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 09:06:53 +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.