diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index 05706e331f3..5030474d96b 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -94,7 +94,6 @@ impl<'tcx> Interner for TyCtxt<'tcx> { type Movability = hir::Movability; type PolyFnSig = PolyFnSig<'tcx>; type ListBinderExistentialPredicate = &'tcx List>; - type BinderListTy = Binder<'tcx, &'tcx List>>; type ListTy = &'tcx List>; type AliasTy = ty::AliasTy<'tcx>; type ParamTy = ParamTy; diff --git a/compiler/rustc_type_ir/src/lib.rs b/compiler/rustc_type_ir/src/lib.rs index 9f8d9f02ec2..51b3007723b 100644 --- a/compiler/rustc_type_ir/src/lib.rs +++ b/compiler/rustc_type_ir/src/lib.rs @@ -60,7 +60,6 @@ pub trait Interner: Sized { type Movability: Clone + Debug + Hash + Ord; type PolyFnSig: Clone + DebugWithInfcx + Hash + Ord; type ListBinderExistentialPredicate: Clone + DebugWithInfcx + Hash + Ord; - type BinderListTy: Clone + DebugWithInfcx + Hash + Ord; type ListTy: Clone + Debug + Hash + Ord + IntoIterator; type AliasTy: Clone + DebugWithInfcx + Hash + Ord; type ParamTy: Clone + Debug + Hash + Ord; diff --git a/compiler/rustc_type_ir/src/sty.rs b/compiler/rustc_type_ir/src/sty.rs index 091b51440a6..5ff17a48e75 100644 --- a/compiler/rustc_type_ir/src/sty.rs +++ b/compiler/rustc_type_ir/src/sty.rs @@ -577,7 +577,6 @@ impl Encodable for TyKind I::Movability: Encodable, I::PolyFnSig: Encodable, I::ListBinderExistentialPredicate: Encodable, - I::BinderListTy: Encodable, I::ListTy: Encodable, I::AliasTy: Encodable, I::ParamTy: Encodable, @@ -692,7 +691,6 @@ impl> Decodable for TyKind I::Movability: Decodable, I::PolyFnSig: Decodable, I::ListBinderExistentialPredicate: Decodable, - I::BinderListTy: Decodable, I::ListTy: Decodable, I::AliasTy: Decodable, I::ParamTy: Decodable, @@ -757,7 +755,6 @@ impl HashStable for TyKind I::Region: HashStable, I::Movability: HashStable, I::Mutability: HashStable, - I::BinderListTy: HashStable, I::ListTy: HashStable, I::AliasTy: HashStable, I::BoundTy: HashStable,