@@ -131,7 +131,7 @@ pub enum RegionKind<I: Interner> {
131131 /// regions get eagerly replaced with `ReLateParam` which behaves in the same way as
132132 /// `ReEarlyParam`. Region parameters are also sometimes implicit,
133133 /// e.g. in `impl Trait for &()`.
134- ReEarlyParam ( I :: RegionParameterDefinition ) ,
134+ ReEarlyParam ( I :: EarlyParamRegion ) ,
135135
136136 /// A higher-ranked region. These represent either late-bound function parameters
137137 /// or bound variables from a `for<'a>`-binder.
@@ -192,7 +192,7 @@ const fn regionkind_discriminant<I: Interner>(value: &RegionKind<I>) -> usize {
192192// This is manually implemented because a derive would require `I: Copy`
193193impl < I : Interner > Copy for RegionKind < I >
194194where
195- I :: RegionParameterDefinition : Copy ,
195+ I :: EarlyParamRegion : Copy ,
196196 I :: BoundRegion : Copy ,
197197 I :: LateParamRegion : Copy ,
198198 I :: InferRegion : Copy ,
@@ -264,7 +264,7 @@ impl<I: Interner> fmt::Debug for RegionKind<I> {
264264// This is not a derived impl because a derive would require `I: HashStable`
265265impl < CTX : HashStableContext , I : Interner > HashStable < CTX > for RegionKind < I >
266266where
267- I :: RegionParameterDefinition : HashStable < CTX > ,
267+ I :: EarlyParamRegion : HashStable < CTX > ,
268268 I :: BoundRegion : HashStable < CTX > ,
269269 I :: LateParamRegion : HashStable < CTX > ,
270270 I :: InferRegion : HashStable < CTX > ,
0 commit comments