diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-05-15 06:24:45 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-05-15 08:49:13 +0200 |
| commit | fff20a703db364d8b91c14cef4779f5e632df191 (patch) | |
| tree | 5dc2f951987aeb8b4cc6c43a6ea6cb8df8ad97a6 /compiler/rustc_middle/src/util | |
| parent | a14d6961f940255727f06689cad99d755e498c24 (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.rs | 4 |
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 }; } |
