Skip to content

Commit 3b87398

Browse files
Print to stderr when a graphviz file can't be written
`warn` prints nothing by default
1 parent 29e5e6e commit 3b87398

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir/src/dataflow/framework

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/dataflow/framework/engine.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ where
248248

249249
let res = write_graphviz_results(tcx, &body, &results, pass_name);
250250
if let Err(e) = res {
251-
warn!("Failed to write graphviz dataflow results: {}", e);
251+
error!("Failed to write graphviz dataflow results: {}", e);
252252
}
253253

254254
results

0 commit comments

Comments
 (0)