Fix prefix of debug log
This commit is contained in:
parent
6bc9634de3
commit
a292ac7177
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user