mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 00:24:52 +00:00
remove push_trait_bound_inner
This commit is contained in:
parent
c67277301c
commit
7f3c83126a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue