Skip to content

Commit

Permalink
Fix prefix of debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
hkmatsumoto committed Jan 31, 2021
1 parent 6bc9634 commit a292ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_infer/src/infer/error_reporting/mod.rs
Expand Up @@ -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;
Expand Down

0 comments on commit a292ac7

Please sign in to comment.