From 3b873987381cd8236b6f6e8129ad5c3570cbae68 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Mon, 5 Oct 2020 10:12:48 -0700 Subject: [PATCH] Print to `stderr` when a graphviz file can't be written `warn` prints nothing by default --- compiler/rustc_mir/src/dataflow/framework/engine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0