mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
Overhaul `rustc_middle::query` Overhaul `rustc_middle::query` The file/module structure is a mess. High-level changes: - The vaguely-named mish-mash file `plumbing.rs` is split across multiple other files. - The vaguely-named `inner.rs` gains some additions and becomes `calls.rs`. - `system.rs` is added. - New file `query_api.rs` is added. It contains the big macro, which is renamed from `define_callbacks` to `define_query_api`. This is a follow-up to rust-lang/rust#160843, which did a similar restructuring of `rustc_query_impl`. r? @Zalathar