diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-10-05 10:12:48 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-10-05 10:14:40 -0700 |
| commit | 3b873987381cd8236b6f6e8129ad5c3570cbae68 (patch) | |
| tree | b54bc740ae90befb0a9d5354bcfd46f4d6922850 | |
| parent | 29e5e6e766a6aab504b01697f8670f72ec10e8ad (diff) | |
| download | rust-3b873987381cd8236b6f6e8129ad5c3570cbae68.tar.gz rust-3b873987381cd8236b6f6e8129ad5c3570cbae68.zip | |
Print to `stderr` when a graphviz file can't be written
`warn` prints nothing by default
| -rw-r--r-- | compiler/rustc_mir/src/dataflow/framework/engine.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/dataflow/framework/engine.rs b/compiler/rustc_mir/src/dataflow/framework/engine.rs index d77e741d1a3..c1e500d01b1 100644 --- a/compiler/rustc_mir/src/dataflow/framework/engine.rs +++ b/compiler/rustc_mir/src/dataflow/framework/engine.rs @@ -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 |
