@@ -428,8 +428,7 @@ pub struct GlobalCtxt<'tcx> {
428428 pub consts : CommonConsts < ' tcx > ,
429429
430430 untracked : Untracked ,
431- /// Output of the resolver.
432- pub ( crate ) untracked_resolutions : ty:: ResolverGlobalCtxt ,
431+
433432 /// The entire crate as AST. This field serves as the input for the hir_crate query,
434433 /// which lowers it from AST to HIR. It must not be read or used by anything else.
435434 pub untracked_crate : Steal < Lrc < ast:: Crate > > ,
@@ -592,7 +591,6 @@ impl<'tcx> TyCtxt<'tcx> {
592591 lint_store : Lrc < dyn Any + sync:: Send + sync:: Sync > ,
593592 arena : & ' tcx WorkerLocal < Arena < ' tcx > > ,
594593 hir_arena : & ' tcx WorkerLocal < hir:: Arena < ' tcx > > ,
595- untracked_resolutions : ty:: ResolverGlobalCtxt ,
596594 untracked : Untracked ,
597595 krate : Lrc < ast:: Crate > ,
598596 dep_graph : DepGraph ,
@@ -622,7 +620,6 @@ impl<'tcx> TyCtxt<'tcx> {
622620 lifetimes : common_lifetimes,
623621 consts : common_consts,
624622 untracked,
625- untracked_resolutions,
626623 untracked_crate : Steal :: new ( krate) ,
627624 on_disk_cache,
628625 queries,
@@ -2407,7 +2404,6 @@ fn ptr_eq<T, U>(t: *const T, u: *const U) -> bool {
24072404}
24082405
24092406pub fn provide ( providers : & mut ty:: query:: Providers ) {
2410- providers. resolutions = |tcx, ( ) | & tcx. untracked_resolutions ;
24112407 providers. module_reexports =
24122408 |tcx, id| tcx. resolutions ( ( ) ) . reexport_map . get ( & id) . map ( |v| & v[ ..] ) ;
24132409 providers. crate_name = |tcx, id| {
0 commit comments