From 0ce96bdcfad27bcfc171afe37b105e02cd82cf61 Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Tue, 17 Aug 2021 20:55:15 -0700 Subject: [PATCH] Fix bug in fmt_diff_with --- compiler/rustc_mir/src/dataflow/framework/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir/src/dataflow/framework/fmt.rs b/compiler/rustc_mir/src/dataflow/framework/fmt.rs index 0140a750544..35115ca9db7 100644 --- a/compiler/rustc_mir/src/dataflow/framework/fmt.rs +++ b/compiler/rustc_mir/src/dataflow/framework/fmt.rs @@ -33,7 +33,7 @@ pub trait DebugWithContext: Eq + fmt::Debug { } write!(f, "\u{001f}-")?; - self.fmt_with(ctxt, f) + old.fmt_with(ctxt, f) } }