@@ -165,10 +165,10 @@ pub fn compile_input(sess: Session,
165
165
tcx. print_debug_stats ( ) ;
166
166
}
167
167
// Discard interned strings as they are no longer required.
168
- token:: get_ident_interner ( ) . clear ( ) ;
168
+ token:: get_ident_interner ( ) . clear ( ) ;
169
169
170
- Ok ( ( outputs, trans) )
171
- } )
170
+ Ok ( ( outputs, trans) )
171
+ } )
172
172
} ;
173
173
174
174
let ( outputs, trans) = if let Ok ( out) = result {
@@ -708,7 +708,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
708
708
stability:: Index :: new ( krate) ,
709
709
|tcx| {
710
710
711
- // passes are timed inside typeck
711
+ // passes are timed inside typeck
712
712
typeck:: check_crate ( tcx, trait_map) ;
713
713
714
714
time ( time_passes,
@@ -722,7 +722,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
722
722
external_exports)
723
723
} ) ;
724
724
725
- // Do not move this check past lint
725
+ // Do not move this check past lint
726
726
time ( time_passes, "stability index" , || {
727
727
tcx. stability . borrow_mut ( ) . build ( tcx, krate, & public_items)
728
728
} ) ;
@@ -755,11 +755,11 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
755
755
"rvalue checking" ,
756
756
|| middle:: check_rvalues:: check_crate ( tcx, krate) ) ;
757
757
758
- // Avoid overwhelming user with errors if type checking failed.
759
- // I'm not sure how helpful this is, to be honest, but it avoids a
760
- // lot of annoying errors in the compile-fail tests (basically,
761
- // lint warnings and so on -- kindck used to do this abort, but
762
- // kindck is gone now). -nmatsakis
758
+ // Avoid overwhelming user with errors if type checking failed.
759
+ // I'm not sure how helpful this is, to be honest, but it avoids a
760
+ // lot of annoying errors in the compile-fail tests (basically,
761
+ // lint warnings and so on -- kindck used to do this abort, but
762
+ // kindck is gone now). -nmatsakis
763
763
tcx. sess . abort_if_errors ( ) ;
764
764
765
765
let reachable_map =
@@ -787,7 +787,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
787
787
"lint checking" ,
788
788
|| lint:: check_crate ( tcx, krate, & exported_items) ) ;
789
789
790
- // The above three passes generate errors w/o aborting
790
+ // The above three passes generate errors w/o aborting
791
791
tcx. sess . abort_if_errors ( ) ;
792
792
793
793
f ( tcx,
@@ -887,8 +887,8 @@ fn write_out_deps(sess: &Session, outputs: &OutputFilenames, id: &str) {
887
887
888
888
let result =
889
889
( || -> io:: Result < ( ) > {
890
- // Build a list of files used to compile the output and
891
- // write Makefile-compatible dependency rules
890
+ // Build a list of files used to compile the output and
891
+ // write Makefile-compatible dependency rules
892
892
let files: Vec < String > = sess. codemap ( )
893
893
. files
894
894
. borrow ( )
@@ -902,9 +902,9 @@ fn write_out_deps(sess: &Session, outputs: &OutputFilenames, id: &str) {
902
902
try!( write ! ( file, "{}: {}\n \n " , path. display( ) , files. join( " " ) ) ) ;
903
903
}
904
904
905
- // Emit a fake target for each input file to the compilation. This
906
- // prevents `make` from spitting out an error if a file is later
907
- // deleted. For more info see #28735
905
+ // Emit a fake target for each input file to the compilation. This
906
+ // prevents `make` from spitting out an error if a file is later
907
+ // deleted. For more info see #28735
908
908
for path in files {
909
909
try!( writeln ! ( file, "{}:" , path) ) ;
910
910
}
0 commit comments