Skip to content

Commit c7bad7b

Browse files
committed
Avoid logging the whole MIR body in SimplifyCfg
1 parent 7d38181 commit c7bad7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/transform/simplify.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl<'tcx> MirPass<'tcx> for SimplifyCfg {
6161
}
6262

6363
fn run_pass(&self, _tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
64-
debug!("SimplifyCfg({:?}) - simplifying {:?}", self.label, body);
64+
debug!("SimplifyCfg({:?}) - simplifying {:?}", self.label, body.source);
6565
simplify_cfg(body);
6666
}
6767
}

0 commit comments

Comments
 (0)