1
Fork 0

Rollup merge of #111578 - Zoxc:query-macro-move, r=cjgillot

Move expansion of query macros in rustc_middle to rustc_middle::query

This moves the expansion of `define_callbacks!` and `define_feedable!` from `rustc_middle::ty::query` to `rustc_middle::query`.

This means that types used in queries are both imported and used in `rustc_middle::query` instead of being split between these modules. It also decouples `rustc_middle::ty::query` further from `rustc_middle` which is helpful since we want to move `rustc_middle::ty::query` to the query system crates.
This commit is contained in:
Matthias Krüger 2023-05-15 17:12:46 +02:00 committed by GitHub
commit 2f0b456903
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 257 additions and 222 deletions

View file

@ -22,7 +22,7 @@ mod errors;
mod lints;
pub mod thir;
use rustc_middle::ty::query::Providers;
use rustc_middle::query::Providers;
use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
use rustc_fluent_macro::fluent_messages;