about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-23 12:10:27 +0200
committerGitHub <noreply@github.com>2024-04-23 12:10:27 +0200
commit802f629cfe355625fda97e63f40ebc22120fcb64 (patch)
tree03aa8e1daec65a69c33a695c064931699dce4056
parent5d017f27d532167ad271343434b35d638dbd3251 (diff)
parent7f3c83126a5bbb6d7d440b97a7c970b05c3ff5b8 (diff)
downloadrust-802f629cfe355625fda97e63f40ebc22120fcb64.tar.gz
rust-802f629cfe355625fda97e63f40ebc22120fcb64.zip
Rollup merge of #124288 - fee1-dead-contrib:rm_inner, r=fmease
remove `push_trait_bound_inner`

Don't see a use for it.
-rw-r--r--compiler/rustc_hir_analysis/src/bounds.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/rustc_hir_analysis/src/bounds.rs b/compiler/rustc_hir_analysis/src/bounds.rs
index d3f51195dfb..aafb5c1c0b4 100644
--- a/compiler/rustc_hir_analysis/src/bounds.rs
+++ b/compiler/rustc_hir_analysis/src/bounds.rs
@@ -44,16 +44,6 @@ impl<'tcx> Bounds<'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
                 .map_bound(|trait_ref| {