Skip to content

Commit 802f629

Browse files
authored
Rollup merge of rust-lang#124288 - fee1-dead-contrib:rm_inner, r=fmease
remove `push_trait_bound_inner` Don't see a use for it.
2 parents 5d017f2 + 7f3c831 commit 802f629

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Diff for: compiler/rustc_hir_analysis/src/bounds.rs

-10
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@ impl<'tcx> Bounds<'tcx> {
4343
trait_ref: ty::PolyTraitRef<'tcx>,
4444
span: Span,
4545
polarity: ty::PredicatePolarity,
46-
) {
47-
self.push_trait_bound_inner(tcx, trait_ref, span, polarity);
48-
}
49-
50-
fn push_trait_bound_inner(
51-
&mut self,
52-
tcx: TyCtxt<'tcx>,
53-
trait_ref: ty::PolyTraitRef<'tcx>,
54-
span: Span,
55-
polarity: ty::PredicatePolarity,
5646
) {
5747
let clause = (
5848
trait_ref

0 commit comments

Comments
 (0)