Skip to content

Commit 865b9ab

Browse files
w
1 parent ae938b0 commit 865b9ab

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

compiler/rustc_hir_analysis/src/check/wfcheck.rs

-8
Original file line numberDiff line numberDiff line change
@@ -1752,14 +1752,6 @@ fn receiver_is_valid<'tcx>(
17521752
// We cannot proceed.
17531753
break;
17541754
}
1755-
1756-
// Register the bound, in case it has any region side-effects.
1757-
wfcx.register_bound(
1758-
cause.clone(),
1759-
wfcx.param_env,
1760-
potential_self_ty,
1761-
receiver_trait_def_id,
1762-
);
17631755
}
17641756
}
17651757

0 commit comments

Comments
 (0)