Skip to content

Commit 9c3594b

Browse files
authored
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.
2 parents ef37925 + b506ee7 commit 9c3594b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/miri.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ use rustc_middle::{
2828
middle::exported_symbols::{
2929
ExportedSymbol, SymbolExportInfo, SymbolExportKind, SymbolExportLevel,
3030
},
31-
query::LocalCrate,
32-
ty::{query::ExternProviders, TyCtxt},
31+
query::{ExternProviders, LocalCrate},
32+
ty::TyCtxt,
3333
};
3434
use rustc_session::config::OptLevel;
3535

0 commit comments

Comments
 (0)