@@ -255,8 +255,8 @@ pub trait CrateStore {
255
255
fn used_crates ( & self , prefer : LinkagePreference ) -> Vec < ( CrateNum , LibSource ) > ;
256
256
fn used_crate_source ( & self , cnum : CrateNum ) -> CrateSource ;
257
257
fn extern_mod_stmt_cnum ( & self , emod_id : ast:: NodeId ) -> Option < CrateNum > ;
258
- fn encode_metadata < ' a , ' tcx > ( & self , tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
259
- reexports : & def :: ExportMap ,
258
+ fn encode_metadata < ' a , ' tcx > ( & self ,
259
+ tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
260
260
link_meta : & LinkMeta ,
261
261
reachable : & NodeSet ) -> Vec < u8 > ;
262
262
fn metadata_encoding_version ( & self ) -> & [ u8 ] ;
@@ -412,10 +412,10 @@ impl CrateStore for DummyCrateStore {
412
412
{ vec ! [ ] }
413
413
fn used_crate_source ( & self , cnum : CrateNum ) -> CrateSource { bug ! ( "used_crate_source" ) }
414
414
fn extern_mod_stmt_cnum ( & self , emod_id : ast:: NodeId ) -> Option < CrateNum > { None }
415
- fn encode_metadata < ' a , ' tcx > ( & self , tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
416
- reexports : & def :: ExportMap ,
417
- link_meta : & LinkMeta ,
418
- reachable : & NodeSet ) -> Vec < u8 > { vec ! [ ] }
415
+ fn encode_metadata < ' a , ' tcx > ( & self ,
416
+ tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
417
+ link_meta : & LinkMeta ,
418
+ reachable : & NodeSet ) -> Vec < u8 > { vec ! [ ] }
419
419
fn metadata_encoding_version ( & self ) -> & [ u8 ] { bug ! ( "metadata_encoding_version" ) }
420
420
}
421
421
0 commit comments