Print to stderr when a graphviz file can't be written

`warn` prints nothing by default
This commit is contained in:
Dylan MacKenzie 2020-10-05 10:12:48 -07:00
parent 29e5e6e766
commit 3b87398738

View File

@ -248,7 +248,7 @@ where
let res = write_graphviz_results(tcx, &body, &results, pass_name);
if let Err(e) = res {
warn!("Failed to write graphviz dataflow results: {}", e);
error!("Failed to write graphviz dataflow results: {}", e);
}
results