Skip to content

Commit 8d20182

Browse files
Remove unused variant BinderListTy
1 parent cc705b8 commit 8d20182

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

compiler/rustc_middle/src/ty/context.rs

-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
9494
type Movability = hir::Movability;
9595
type PolyFnSig = PolyFnSig<'tcx>;
9696
type ListBinderExistentialPredicate = &'tcx List<PolyExistentialPredicate<'tcx>>;
97-
type BinderListTy = Binder<'tcx, &'tcx List<Ty<'tcx>>>;
9897
type ListTy = &'tcx List<Ty<'tcx>>;
9998
type AliasTy = ty::AliasTy<'tcx>;
10099
type ParamTy = ParamTy;

compiler/rustc_type_ir/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ pub trait Interner: Sized {
6060
type Movability: Clone + Debug + Hash + Ord;
6161
type PolyFnSig: Clone + DebugWithInfcx<Self> + Hash + Ord;
6262
type ListBinderExistentialPredicate: Clone + DebugWithInfcx<Self> + Hash + Ord;
63-
type BinderListTy: Clone + DebugWithInfcx<Self> + Hash + Ord;
6463
type ListTy: Clone + Debug + Hash + Ord + IntoIterator<Item = Self::Ty>;
6564
type AliasTy: Clone + DebugWithInfcx<Self> + Hash + Ord;
6665
type ParamTy: Clone + Debug + Hash + Ord;

compiler/rustc_type_ir/src/sty.rs

-3
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ where
577577
I::Movability: Encodable<E>,
578578
I::PolyFnSig: Encodable<E>,
579579
I::ListBinderExistentialPredicate: Encodable<E>,
580-
I::BinderListTy: Encodable<E>,
581580
I::ListTy: Encodable<E>,
582581
I::AliasTy: Encodable<E>,
583582
I::ParamTy: Encodable<E>,
@@ -692,7 +691,6 @@ where
692691
I::Movability: Decodable<D>,
693692
I::PolyFnSig: Decodable<D>,
694693
I::ListBinderExistentialPredicate: Decodable<D>,
695-
I::BinderListTy: Decodable<D>,
696694
I::ListTy: Decodable<D>,
697695
I::AliasTy: Decodable<D>,
698696
I::ParamTy: Decodable<D>,
@@ -757,7 +755,6 @@ where
757755
I::Region: HashStable<CTX>,
758756
I::Movability: HashStable<CTX>,
759757
I::Mutability: HashStable<CTX>,
760-
I::BinderListTy: HashStable<CTX>,
761758
I::ListTy: HashStable<CTX>,
762759
I::AliasTy: HashStable<CTX>,
763760
I::BoundTy: HashStable<CTX>,

0 commit comments

Comments
 (0)