mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
608d85f989
`QuerySystem` has two function pointers: `encode_query_results` and `try_mark_green`. These exist so that `rustc_middle` can call functions from upstream crates. But we have a more general mechanism for that: hooks. So this commit converts these two cases into hooks.