diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2023-05-16 18:50:05 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2023-05-16 18:50:36 +0200 |
| commit | a7d48800f97fff4948a49d4c8e97619e9a265db4 (patch) | |
| tree | 4ed236f462d3074a01e6b7431da05e899c279953 /compiler/rustc_ast_lowering/src/lib.rs | |
| parent | 7f01893900cf01b48adcaa0146e139cc8083b399 (diff) | |
| download | rust-a7d48800f97fff4948a49d4c8e97619e9a265db4.tar.gz rust-a7d48800f97fff4948a49d4c8e97619e9a265db4.zip | |
Turn debugger_visualizers from feed- into regular query.
Diffstat (limited to 'compiler/rustc_ast_lowering/src/lib.rs')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/lib.rs b/compiler/rustc_ast_lowering/src/lib.rs index cd6614a54a4..211f5cb0a2a 100644 --- a/compiler/rustc_ast_lowering/src/lib.rs +++ b/compiler/rustc_ast_lowering/src/lib.rs @@ -58,7 +58,7 @@ use rustc_errors::{ use rustc_fluent_macro::fluent_messages; use rustc_hir as hir; use rustc_hir::def::{DefKind, LifetimeRes, Namespace, PartialRes, PerNS, Res}; -use rustc_hir::def_id::{LocalDefId, CRATE_DEF_ID}; +use rustc_hir::def_id::{LocalDefId, CRATE_DEF_ID, LOCAL_CRATE}; use rustc_hir::definitions::DefPathData; use rustc_hir::{ConstArg, GenericArg, ItemLocalId, ParamName, TraitCandidate}; use rustc_index::{Idx, IndexSlice, IndexVec}; @@ -435,6 +435,7 @@ pub fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> hir::Crate<'_> { // Queries that borrow `resolver_for_lowering`. tcx.ensure_with_value().output_filenames(()); tcx.ensure_with_value().early_lint_checks(()); + tcx.ensure_with_value().debugger_visualizers(LOCAL_CRATE); let (mut resolver, krate) = tcx.resolver_for_lowering(()).steal(); let ast_index = index_crate(&resolver.node_id_to_def_id, &krate); |
