diff options
| author | Hirochika Matsumoto <matsujika@gmail.com> | 2021-01-31 16:49:33 +0900 |
|---|---|---|
| committer | Hirochika Matsumoto <matsujika@gmail.com> | 2021-01-31 16:49:33 +0900 |
| commit | a292ac7177f8d2c2124b28201a33f83d7ce732e8 (patch) | |
| tree | a079f93af1912d07a8e813b7d23f804f99b4832a | |
| parent | 6bc9634de3c7d8fd5684fb38b8fbaf7288df55bd (diff) | |
| download | rust-a292ac7177f8d2c2124b28201a33f83d7ce732e8.tar.gz rust-a292ac7177f8d2c2124b28201a33f83d7ce732e8.zip | |
Fix prefix of debug log
| -rw-r--r-- | compiler/rustc_infer/src/infer/error_reporting/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs index 3ccf85240a5..eae0d1e28da 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<Ty<'tcx>>, 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; |
