Skip to content

Commit 08d31e0

Browse files
committed
Remove logging iterator
1 parent ad9f707 commit 08d31e0

File tree

1 file changed

+0
-3
lines changed
  • compiler/rustc_infer/src/infer/error_reporting

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,9 +1838,6 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
18381838
.iter()
18391839
.filter(|field| field.vis.is_accessible_from(field.did, self.tcx))
18401840
.map(|field| (field.ident.name, field.ty(self.tcx, expected_substs)))
1841-
.inspect(|(name, ty)| {
1842-
debug!("suggest_field_where_appropriate: name={:?}, ty={:?}", name, ty)
1843-
})
18441841
.find(|(_, ty)| ty::TyS::same_type(ty, exp_found.found))
18451842
{
18461843
if let ObligationCauseCode::Pattern { span: Some(span), .. } = cause.code {

0 commit comments

Comments
 (0)