From a292ac7177f8d2c2124b28201a33f83d7ce732e8 Mon Sep 17 00:00:00 2001 From: Hirochika Matsumoto Date: Sun, 31 Jan 2021 16:49:33 +0900 Subject: [PATCH] Fix prefix of debug log --- compiler/rustc_infer/src/infer/error_reporting/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs index 3ccf85240a5e..eae0d1e28daa 100644 --- a/compiler/rustc_infer/src/infer/error_reporting/mod.rs +++ b/compiler/rustc_infer/src/infer/error_reporting/mod.rs @@ -1826,7 +1826,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { exp_found: &ty::error::ExpectedFound>, diag: &mut DiagnosticBuilder<'tcx>, ) { - debug!("suggest_field_where_appropriate(cause={:?}, exp_found={:?})", cause, exp_found); + debug!("suggest_accessing_field_where_appropriate(cause={:?}, exp_found={:?})", cause, exp_found); if let ty::Adt(expected_def, expected_substs) = exp_found.expected.kind() { if expected_def.is_enum() { return;