diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2024-04-23 17:54:58 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2024-04-23 17:54:58 +0800 |
| commit | 7f3c83126a5bbb6d7d440b97a7c970b05c3ff5b8 (patch) | |
| tree | eef115ed736b446e0c3be11af2723533970baad6 | |
| parent | c67277301c896857d0534f2bb7431680796833fb (diff) | |
| download | rust-7f3c83126a5bbb6d7d440b97a7c970b05c3ff5b8.tar.gz rust-7f3c83126a5bbb6d7d440b97a7c970b05c3ff5b8.zip | |
remove `push_trait_bound_inner`
| -rw-r--r-- | compiler/rustc_hir_analysis/src/bounds.rs | 10 |
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| { |
