Skip to content

Commit

Permalink
Unrolled build for rust-lang#124288
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rust-timer authored Apr 23, 2024
2 parents c672773 + 7f3c831 commit d321d83
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 d321d83

Please sign in to comment.