Skip to content

Commit 87090a9

Browse files
committed
Remove an outdated comment.
`phase_3_run_analysis_passes` no longer exists, and AFAICT this code has been refactored so much since this comment was written that it no longer has any useful meaning.
1 parent c5cfcdc commit 87090a9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler/rustc_driver_impl/src/pretty.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,6 @@ pub fn print_after_hir_lowering<'tcx>(tcx: TyCtxt<'tcx>, ppm: PpMode) {
451451
write_or_print(&out, tcx.sess);
452452
}
453453

454-
// In an ideal world, this would be a public function called by the driver after
455-
// analysis is performed. However, we want to call `phase_3_run_analysis_passes`
456-
// with a different callback than the standard driver, so that isn't easy.
457-
// Instead, we call that function ourselves.
458454
fn print_with_analysis(tcx: TyCtxt<'_>, ppm: PpMode) -> Result<(), ErrorGuaranteed> {
459455
tcx.analysis(())?;
460456
let out = match ppm {

0 commit comments

Comments
 (0)