@@ -741,15 +741,15 @@ pub fn phase_2_configure_and_expand<F>(sess: &Session,
741
741
"checking for inline asm in case the target doesn't support it" ,
742
742
|| no_asm:: check_crate ( sess, & krate) ) ;
743
743
744
- time ( sess . time_passes ( ) ,
744
+ time ( time_passes,
745
745
"early lint checks" ,
746
746
|| lint:: check_ast_crate ( sess, & krate) ) ;
747
747
748
- time ( sess . time_passes ( ) ,
748
+ time ( time_passes,
749
749
"AST validation" ,
750
750
|| ast_validation:: check_crate ( sess, & krate) ) ;
751
751
752
- time ( sess . time_passes ( ) , "name resolution" , || -> CompileResult {
752
+ time ( time_passes, "name resolution" , || -> CompileResult {
753
753
// Since import resolution will eventually happen in expansion,
754
754
// don't perform `after_expand` until after import resolution.
755
755
after_expand ( & krate) ?;
@@ -770,7 +770,7 @@ pub fn phase_2_configure_and_expand<F>(sess: &Session,
770
770
} ) ?;
771
771
772
772
// Lower ast -> hir.
773
- let hir_forest = time ( sess . time_passes ( ) , "lowering ast -> hir" , || {
773
+ let hir_forest = time ( time_passes, "lowering ast -> hir" , || {
774
774
let hir_crate = lower_crate ( sess, & krate, & mut resolver) ;
775
775
776
776
if sess. opts . debugging_opts . hir_stats {
@@ -780,7 +780,7 @@ pub fn phase_2_configure_and_expand<F>(sess: &Session,
780
780
hir_map:: Forest :: new ( hir_crate, & sess. dep_graph )
781
781
} ) ;
782
782
783
- // Discard hygiene data, which isn't required past lowering to HIR.
783
+ // Discard hygiene data, which isn't required after lowering to HIR.
784
784
if !keep_hygiene_data ( sess) {
785
785
syntax:: ext:: hygiene:: reset_hygiene_data ( ) ;
786
786
}
0 commit comments