File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -845,21 +845,24 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
845
845
sess. time( "MIR_borrow_checking" , || {
846
846
tcx. par_body_owners( |def_id| tcx. ensure( ) . mir_borrowck( def_id) ) ;
847
847
} ) ;
848
+ } ,
849
+ {
850
+ sess. time( "dumping_chalk_like_clauses" , || {
851
+ rustc_traits:: lowering:: dump_program_clauses( tcx) ;
852
+ } ) ;
853
+ } ,
854
+ {
855
+ sess. time( "MIR_effect_checking" , || {
856
+ for def_id in tcx. body_owners( ) {
857
+ mir:: transform:: check_unsafety:: check_unsafety( tcx, def_id)
858
+ }
859
+ } ) ;
860
+ } ,
861
+ {
862
+ sess. time( "layout_testing" , || layout_test:: test_layout( tcx) ) ;
848
863
}
849
864
) ;
850
865
851
- sess. time ( "dumping_chalk_like_clauses" , || {
852
- rustc_traits:: lowering:: dump_program_clauses ( tcx) ;
853
- } ) ;
854
-
855
- sess. time ( "MIR_effect_checking" , || {
856
- for def_id in tcx. body_owners ( ) {
857
- mir:: transform:: check_unsafety:: check_unsafety ( tcx, def_id)
858
- }
859
- } ) ;
860
-
861
- sess. time ( "layout_testing" , || layout_test:: test_layout ( tcx) ) ;
862
-
863
866
// Avoid overwhelming user with errors if borrow checking failed.
864
867
// I'm not sure how helpful this is, to be honest, but it avoids a
865
868
// lot of annoying errors in the compile-fail tests (basically,
You can’t perform that action at this time.
0 commit comments