@@ -27,6 +27,7 @@ use rustc_middle::mir::interpret::{AllocDecodingSession, AllocDecodingState};
2727use rustc_middle:: mir:: { self , Body , Promoted } ;
2828use rustc_middle:: thir;
2929use rustc_middle:: ty:: codec:: TyDecoder ;
30+ use rustc_middle:: ty:: fast_reject:: SimplifiedType ;
3031use rustc_middle:: ty:: { self , Ty , TyCtxt , Visibility } ;
3132use rustc_serialize:: { opaque, Decodable , Decoder } ;
3233use rustc_session:: cstore:: {
@@ -92,8 +93,7 @@ crate struct CrateMetadata {
9293 /// Trait impl data.
9394 /// FIXME: Used only from queries and can use query cache,
9495 /// so pre-decoding can probably be avoided.
95- trait_impls :
96- FxHashMap < ( u32 , DefIndex ) , Lazy < [ ( DefIndex , Option < ty:: fast_reject:: SimplifiedType > ) ] > > ,
96+ trait_impls : FxHashMap < ( u32 , DefIndex ) , Lazy < [ ( DefIndex , Option < SimplifiedType > ) ] > > ,
9797 /// Proc macro descriptions for this crate, if it's a proc macro crate.
9898 raw_proc_macros : Option < & ' static [ ProcMacro ] > ,
9999 /// Source maps for code from the crate.
@@ -1376,7 +1376,7 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
13761376 & self ,
13771377 tcx : TyCtxt < ' tcx > ,
13781378 filter : Option < DefId > ,
1379- ) -> & ' tcx [ ( DefId , Option < ty :: fast_reject :: SimplifiedType > ) ] {
1379+ ) -> & ' tcx [ ( DefId , Option < SimplifiedType > ) ] {
13801380 if self . root . is_proc_macro_crate ( ) {
13811381 // proc-macro crates export no trait impls.
13821382 return & [ ] ;
0 commit comments