remove push_trait_bound_inner

This commit is contained in:
Deadbeef 2024-04-23 17:54:58 +08:00
parent c67277301c
commit 7f3c83126a

View file

@ -43,16 +43,6 @@ pub fn push_trait_bound(
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