rust/compiler/rustc_mir
Tomasz Miąsko 6c51ec96bb inliner: Avoid query cycles when optimizing generators
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.
2020-09-02 00:00:00 +00:00
..
src inliner: Avoid query cycles when optimizing generators 2020-09-02 00:00:00 +00:00
Cargo.toml