File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -467,17 +467,17 @@ impl<'a> CompilerCalls<'a> for RustcDefaultCalls {
467467 state. krate = Some ( pretty:: fold_crate ( state. krate . take ( ) . unwrap ( ) , ppm) ) ;
468468 } ;
469469 control. after_hir_lowering . callback = box move |state| {
470- pretty:: print_after_ast ( state. session ,
471- state. ast_map . unwrap ( ) ,
472- state. analysis . unwrap ( ) ,
473- state. resolutions . unwrap ( ) ,
474- state. input ,
475- & state. expanded_crate . take ( ) . unwrap ( ) ,
476- state. crate_name . unwrap ( ) ,
477- ppm,
478- state. arenas . unwrap ( ) ,
479- opt_uii. clone ( ) ,
480- state. out_file ) ;
470+ pretty:: print_after_hir_lowering ( state. session ,
471+ state. ast_map . unwrap ( ) ,
472+ state. analysis . unwrap ( ) ,
473+ state. resolutions . unwrap ( ) ,
474+ state. input ,
475+ & state. expanded_crate . take ( ) . unwrap ( ) ,
476+ state. crate_name . unwrap ( ) ,
477+ ppm,
478+ state. arenas . unwrap ( ) ,
479+ opt_uii. clone ( ) ,
480+ state. out_file ) ;
481481 } ;
482482 } else {
483483 control. after_parse . stop = Compilation :: Stop ;
Original file line number Diff line number Diff line change @@ -812,17 +812,17 @@ pub fn print_after_parsing(sess: &Session,
812812 write_output ( out, ofile) ;
813813}
814814
815- pub fn print_after_ast < ' tcx , ' a : ' tcx > ( sess : & ' a Session ,
816- ast_map : & hir_map:: Map < ' tcx > ,
817- analysis : & ty:: CrateAnalysis ,
818- resolutions : & Resolutions ,
819- input : & Input ,
820- krate : & ast:: Crate ,
821- crate_name : & str ,
822- ppm : PpMode ,
823- arenas : & ' tcx ty:: CtxtArenas < ' tcx > ,
824- opt_uii : Option < UserIdentifiedItem > ,
825- ofile : Option < & Path > ) {
815+ pub fn print_after_hir_lowering < ' tcx , ' a : ' tcx > ( sess : & ' a Session ,
816+ ast_map : & hir_map:: Map < ' tcx > ,
817+ analysis : & ty:: CrateAnalysis ,
818+ resolutions : & Resolutions ,
819+ input : & Input ,
820+ krate : & ast:: Crate ,
821+ crate_name : & str ,
822+ ppm : PpMode ,
823+ arenas : & ' tcx ty:: CtxtArenas < ' tcx > ,
824+ opt_uii : Option < UserIdentifiedItem > ,
825+ ofile : Option < & Path > ) {
826826 let dep_graph = DepGraph :: new ( false ) ;
827827 let _ignore = dep_graph. in_ignore ( ) ;
828828
You can’t perform that action at this time.
0 commit comments