@@ -20,7 +20,7 @@ use {abort_on_err, driver};
2020use rustc:: ty:: { self , TyCtxt , Resolutions , AllArenas } ;
2121use rustc:: cfg;
2222use rustc:: cfg:: graphviz:: LabelledCFG ;
23- use rustc:: middle:: cstore:: CrateStore ;
23+ use rustc:: middle:: cstore:: CrateStoreDyn ;
2424use rustc:: session:: Session ;
2525use rustc:: session:: config:: { Input , OutputFilenames } ;
2626use rustc_borrowck as borrowck;
@@ -199,7 +199,7 @@ impl PpSourceMode {
199199 }
200200 fn call_with_pp_support_hir < ' tcx , A , F > ( & self ,
201201 sess : & ' tcx Session ,
202- cstore : & ' tcx CrateStore ,
202+ cstore : & ' tcx CrateStoreDyn ,
203203 hir_map : & hir_map:: Map < ' tcx > ,
204204 analysis : & ty:: CrateAnalysis ,
205205 resolutions : & Resolutions ,
@@ -912,7 +912,7 @@ pub fn print_after_parsing(sess: &Session,
912912}
913913
914914pub fn print_after_hir_lowering < ' tcx , ' a : ' tcx > ( sess : & ' a Session ,
915- cstore : & ' tcx CrateStore ,
915+ cstore : & ' tcx CrateStoreDyn ,
916916 hir_map : & hir_map:: Map < ' tcx > ,
917917 analysis : & ty:: CrateAnalysis ,
918918 resolutions : & Resolutions ,
@@ -1068,7 +1068,7 @@ pub fn print_after_hir_lowering<'tcx, 'a: 'tcx>(sess: &'a Session,
10681068// with a different callback than the standard driver, so that isn't easy.
10691069// Instead, we call that function ourselves.
10701070fn print_with_analysis < ' tcx , ' a : ' tcx > ( sess : & ' a Session ,
1071- cstore : & ' a CrateStore ,
1071+ cstore : & ' a CrateStoreDyn ,
10721072 hir_map : & hir_map:: Map < ' tcx > ,
10731073 analysis : & ty:: CrateAnalysis ,
10741074 resolutions : & Resolutions ,
0 commit comments