Skip to content

Commit a292ac7

Browse files
committed
Fix prefix of debug log
1 parent 6bc9634 commit a292ac7

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer/error_reporting

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/error_reporting/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
18261826
exp_found: &ty::error::ExpectedFound<Ty<'tcx>>,
18271827
diag: &mut DiagnosticBuilder<'tcx>,
18281828
) {
1829-
debug!("suggest_field_where_appropriate(cause={:?}, exp_found={:?})", cause, exp_found);
1829+
debug!("suggest_accessing_field_where_appropriate(cause={:?}, exp_found={:?})", cause, exp_found);
18301830
if let ty::Adt(expected_def, expected_substs) = exp_found.expected.kind() {
18311831
if expected_def.is_enum() {
18321832
return;

0 commit comments

Comments
 (0)