We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae938b0 commit 865b9abCopy full SHA for 865b9ab
compiler/rustc_hir_analysis/src/check/wfcheck.rs
@@ -1752,14 +1752,6 @@ fn receiver_is_valid<'tcx>(
1752
// We cannot proceed.
1753
break;
1754
}
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
- );
1763
1764
1765
0 commit comments