From: Dylan MacKenzie Date: Mon, 5 Oct 2020 17:12:48 +0000 (-0700) Subject: Print to `stderr` when a graphviz file can't be written X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=3b873987381cd8236b6f6e8129ad5c3570cbae68;p=rust.git Print to `stderr` when a graphviz file can't be written `warn` prints nothing by default --- 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 @@ pub fn iterate_to_fixpoint(self) -> Results<'tcx, A> 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