Print to stderr
when a graphviz file can't be written
`warn` prints nothing by default
This commit is contained in:
parent
29e5e6e766
commit
3b87398738
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user