From 7f3c83126a5bbb6d7d440b97a7c970b05c3ff5b8 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Tue, 23 Apr 2024 17:54:58 +0800 Subject: [PATCH] remove `push_trait_bound_inner` --- compiler/rustc_hir_analysis/src/bounds.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/compiler/rustc_hir_analysis/src/bounds.rs b/compiler/rustc_hir_analysis/src/bounds.rs index d3f51195dfb29..aafb5c1c0b4bc 100644 --- a/compiler/rustc_hir_analysis/src/bounds.rs +++ b/compiler/rustc_hir_analysis/src/bounds.rs @@ -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