@@ -27,6 +27,7 @@ use rustc_middle::mir::interpret::{AllocDecodingSession, AllocDecodingState};
27
27
use rustc_middle:: mir:: { self , Body , Promoted } ;
28
28
use rustc_middle:: thir;
29
29
use rustc_middle:: ty:: codec:: TyDecoder ;
30
+ use rustc_middle:: ty:: fast_reject:: SimplifiedType ;
30
31
use rustc_middle:: ty:: { self , Ty , TyCtxt , Visibility } ;
31
32
use rustc_serialize:: { opaque, Decodable , Decoder } ;
32
33
use rustc_session:: cstore:: {
@@ -92,8 +93,7 @@ crate struct CrateMetadata {
92
93
/// Trait impl data.
93
94
/// FIXME: Used only from queries and can use query cache,
94
95
/// 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 > ) ] > > ,
97
97
/// Proc macro descriptions for this crate, if it's a proc macro crate.
98
98
raw_proc_macros : Option < & ' static [ ProcMacro ] > ,
99
99
/// Source maps for code from the crate.
@@ -1376,7 +1376,7 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
1376
1376
& self ,
1377
1377
tcx : TyCtxt < ' tcx > ,
1378
1378
filter : Option < DefId > ,
1379
- ) -> & ' tcx [ ( DefId , Option < ty :: fast_reject :: SimplifiedType > ) ] {
1379
+ ) -> & ' tcx [ ( DefId , Option < SimplifiedType > ) ] {
1380
1380
if self . root . is_proc_macro_crate ( ) {
1381
1381
// proc-macro crates export no trait impls.
1382
1382
return & [ ] ;
0 commit comments