about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/util
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-05-15 06:24:45 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-05-15 08:49:13 +0200
commitfff20a703db364d8b91c14cef4779f5e632df191 (patch)
tree5dc2f951987aeb8b4cc6c43a6ea6cb8df8ad97a6 /compiler/rustc_middle/src/util
parenta14d6961f940255727f06689cad99d755e498c24 (diff)
Move expansion of query macros in rustc_middle to rustc_middle::query
Diffstat (limited to 'compiler/rustc_middle/src/util')
-rw-r--r--compiler/rustc_middle/src/util/bug.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/util/bug.rs b/compiler/rustc_middle/src/util/bug.rs
index 3dfd0824f98..43ee0343f5a 100644
--- a/compiler/rustc_middle/src/util/bug.rs
+++ b/compiler/rustc_middle/src/util/bug.rs
@@ -48,6 +48,6 @@ pub fn trigger_delay_span_bug(tcx: TyCtxt<'_>, key: rustc_hir::def_id::DefId) {
     );
 }
 
-pub fn provide(providers: &mut crate::ty::query::Providers) {
-    *providers = crate::ty::query::Providers { trigger_delay_span_bug, ..*providers };
+pub fn provide(providers: &mut crate::query::Providers) {
+    *providers = crate::query::Providers { trigger_delay_span_bug, ..*providers };
 }