@@ -841,31 +841,33 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
841841 ) ;
842842 } ) ;
843843
844- parallel ! (
845- {
846- tcx. ensure( ) . privacy_access_levels( LOCAL_CRATE ) ;
847- } ,
848- {
849- sess. time( "MIR_borrow_checking" , || {
850- tcx. par_body_owners( |def_id| tcx. ensure( ) . mir_borrowck( def_id) ) ;
851- } ) ;
852- } ,
853- {
854- sess. time( "dumping_chalk_like_clauses" , || {
855- rustc_traits:: lowering:: dump_program_clauses( tcx) ;
856- } ) ;
857- } ,
858- {
859- sess. time( "MIR_effect_checking" , || {
860- for def_id in tcx. body_owners( ) {
861- mir:: transform:: check_unsafety:: check_unsafety( tcx, def_id)
862- }
863- } ) ;
864- } ,
865- {
866- sess. time( "layout_testing" , || layout_test:: test_layout( tcx) ) ;
867- }
868- ) ;
844+ sess. time ( "misc_checking_3" , || {
845+ parallel ! (
846+ {
847+ tcx. ensure( ) . privacy_access_levels( LOCAL_CRATE ) ;
848+ } ,
849+ {
850+ sess. time( "MIR_borrow_checking" , || {
851+ tcx. par_body_owners( |def_id| tcx. ensure( ) . mir_borrowck( def_id) ) ;
852+ } ) ;
853+ } ,
854+ {
855+ sess. time( "dumping_chalk_like_clauses" , || {
856+ rustc_traits:: lowering:: dump_program_clauses( tcx) ;
857+ } ) ;
858+ } ,
859+ {
860+ sess. time( "MIR_effect_checking" , || {
861+ for def_id in tcx. body_owners( ) {
862+ mir:: transform:: check_unsafety:: check_unsafety( tcx, def_id)
863+ }
864+ } ) ;
865+ } ,
866+ {
867+ sess. time( "layout_testing" , || layout_test:: test_layout( tcx) ) ;
868+ }
869+ ) ;
870+ } ) ;
869871
870872 // Avoid overwhelming user with errors if borrow checking failed.
871873 // I'm not sure how helpful this is, to be honest, but it avoids a
@@ -876,7 +878,7 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
876878 return Err ( ErrorReported ) ;
877879 }
878880
879- sess. time ( "misc_checking_3 " , || {
881+ sess. time ( "misc_checking_4 " , || {
880882 parallel ! (
881883 {
882884 tcx. ensure( ) . check_private_in_public( LOCAL_CRATE ) ;
0 commit comments