@@ -14,7 +14,7 @@ use rustc_middle::ty::layout::{
14
14
FnAbiError , FnAbiOf , FnAbiOfHelpers , FnAbiRequest , HasTyCtxt , HasTypingEnv , LayoutError ,
15
15
LayoutOfHelpers ,
16
16
} ;
17
- use rustc_middle:: ty:: { self , Instance , PolyExistentialTraitRef , Ty , TyCtxt } ;
17
+ use rustc_middle:: ty:: { self , ExistentialTraitRef , Instance , Ty , TyCtxt } ;
18
18
use rustc_session:: Session ;
19
19
use rustc_span:: source_map:: respan;
20
20
use rustc_span:: { DUMMY_SP , Span } ;
@@ -90,7 +90,7 @@ pub struct CodegenCx<'gcc, 'tcx> {
90
90
pub function_instances : RefCell < FxHashMap < Instance < ' tcx > , Function < ' gcc > > > ,
91
91
/// Cache generated vtables
92
92
pub vtables :
93
- RefCell < FxHashMap < ( Ty < ' tcx > , Option < ty:: PolyExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > ,
93
+ RefCell < FxHashMap < ( Ty < ' tcx > , Option < ty:: ExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > ,
94
94
95
95
// TODO(antoyo): improve the SSA API to not require those.
96
96
/// Mapping from function pointer type to indexes of on stack parameters.
@@ -401,7 +401,7 @@ impl<'gcc, 'tcx> BackendTypes for CodegenCx<'gcc, 'tcx> {
401
401
impl < ' gcc , ' tcx > MiscCodegenMethods < ' tcx > for CodegenCx < ' gcc , ' tcx > {
402
402
fn vtables (
403
403
& self ,
404
- ) -> & RefCell < FxHashMap < ( Ty < ' tcx > , Option < PolyExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > {
404
+ ) -> & RefCell < FxHashMap < ( Ty < ' tcx > , Option < ExistentialTraitRef < ' tcx > > ) , RValue < ' gcc > > > {
405
405
& self . vtables
406
406
}
407
407
0 commit comments