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