Skip to content

Commit

Permalink
Rollup merge of rust-lang#124288 - fee1-dead-contrib:rm_inner, r=fmease
Browse files Browse the repository at this point in the history
remove `push_trait_bound_inner`

Don't see a use for it.
  • Loading branch information
matthiaskrgr authored Apr 23, 2024
2 parents 5d017f2 + 7f3c831 commit 802f629
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions compiler/rustc_hir_analysis/src/bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@ impl<'tcx> Bounds<'tcx> {
trait_ref: ty::PolyTraitRef<'tcx>,
span: Span,
polarity: ty::PredicatePolarity,
) {
self.push_trait_bound_inner(tcx, trait_ref, span, polarity);
}

fn push_trait_bound_inner(
&mut self,
tcx: TyCtxt<'tcx>,
trait_ref: ty::PolyTraitRef<'tcx>,
span: Span,
polarity: ty::PredicatePolarity,
) {
let clause = (
trait_ref
Expand Down

0 comments on commit 802f629

Please sign in to comment.