@@ -14,7 +14,7 @@ use rustc_middle::ty::layout::{
1414 FnAbiError , FnAbiOf , FnAbiOfHelpers , FnAbiRequest , HasTyCtxt , HasTypingEnv , LayoutError ,
1515 LayoutOfHelpers ,
1616} ;
17- use rustc_middle:: ty:: { self , Instance , PolyExistentialTraitRef , Ty , TyCtxt } ;
17+ use rustc_middle:: ty:: { self , ExistentialTraitRef , Instance , Ty , TyCtxt } ;
1818use rustc_session:: Session ;
1919use rustc_span:: source_map:: respan;
2020use rustc_span:: { DUMMY_SP , Span } ;
@@ -90,7 +90,7 @@ pub struct CodegenCx<'gcc, 'tcx> {
9090 pub function_instances : RefCell < FxHashMap < Instance < ' tcx > , Function < ' gcc > > > ,
9191 /// Cache generated vtables
9292 pub vtables :
93- RefCell < FxHashMap < ( Ty < ' tcx > , Option < ty:: PolyExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > ,
93+ RefCell < FxHashMap < ( Ty < ' tcx > , Option < ty:: ExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > ,
9494
9595 // TODO(antoyo): improve the SSA API to not require those.
9696 /// Mapping from function pointer type to indexes of on stack parameters.
@@ -401,7 +401,7 @@ impl<'gcc, 'tcx> BackendTypes for CodegenCx<'gcc, 'tcx> {
401401impl < ' gcc , ' tcx > MiscCodegenMethods < ' tcx > for CodegenCx < ' gcc , ' tcx > {
402402 fn vtables (
403403 & self ,
404- ) -> & RefCell < FxHashMap < ( Ty < ' tcx > , Option < PolyExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > {
404+ ) -> & RefCell < FxHashMap < ( Ty < ' tcx > , Option < ExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > {
405405 & self . vtables
406406 }
407407
0 commit comments