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