mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 18:27:50 +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.