Skip to content

Commit c21fa64

Browse files
committed
pacify the mercilous tidy
1 parent ea2d90e commit c21fa64

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/librustc_driver/driver.rs

+10-2
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,11 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
941941
// lint warnings and so on -- kindck used to do this abort, but
942942
// kindck is gone now). -nmatsakis
943943
if sess.err_count() > 0 {
944-
return Ok(f(tcx, Some(mir_map), analysis, incremental_hashes_map, Err(sess.err_count())));
944+
return Ok(f(tcx,
945+
Some(mir_map),
946+
analysis,
947+
incremental_hashes_map,
948+
Err(sess.err_count())));
945949
}
946950

947951
analysis.reachable =
@@ -969,7 +973,11 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
969973

970974
// The above three passes generate errors w/o aborting
971975
if sess.err_count() > 0 {
972-
return Ok(f(tcx, Some(mir_map), analysis, incremental_hashes_map, Err(sess.err_count())));
976+
return Ok(f(tcx,
977+
Some(mir_map),
978+
analysis,
979+
incremental_hashes_map,
980+
Err(sess.err_count())));
973981
}
974982

975983
Ok(f(tcx, Some(mir_map), analysis, incremental_hashes_map, Ok(())))

0 commit comments

Comments
 (0)