@@ -741,9 +741,9 @@ pub fn default_provide_extern(providers: &mut ty::query::Providers<'_>) {
741741 rustc_codegen_ssa:: provide_extern ( providers) ;
742742}
743743
744- pub struct BoxedGlobalCtxt < ' tcx > ( & ' tcx GlobalCtxt < ' tcx > ) ;
744+ pub struct QueryContext < ' tcx > ( & ' tcx GlobalCtxt < ' tcx > ) ;
745745
746- impl < ' tcx > BoxedGlobalCtxt < ' tcx > {
746+ impl < ' tcx > QueryContext < ' tcx > {
747747 pub fn enter < F , R > ( & mut self , f : F ) -> R
748748 where
749749 F : FnOnce ( TyCtxt < ' tcx > ) -> R ,
@@ -766,7 +766,7 @@ pub fn create_global_ctxt<'tcx>(
766766 global_ctxt : & ' tcx Once < GlobalCtxt < ' tcx > > ,
767767 arenas : & ' tcx Once < AllArenas > ,
768768 local_arena : & ' tcx WorkerLocal < Arena < ' tcx > > ,
769- ) -> BoxedGlobalCtxt < ' tcx > {
769+ ) -> QueryContext < ' tcx > {
770770 let sess = & compiler. session ( ) ;
771771 let defs = mem:: take ( & mut resolver_outputs. definitions ) ;
772772
@@ -813,7 +813,7 @@ pub fn create_global_ctxt<'tcx>(
813813 time ( tcx. sess , "dep graph tcx init" , || rustc_incremental:: dep_graph_tcx_init ( tcx) ) ;
814814 } ) ;
815815
816- BoxedGlobalCtxt ( gcx)
816+ QueryContext ( gcx)
817817}
818818
819819/// Runs the resolution, type-checking, region checking and other
0 commit comments