@@ -131,7 +131,7 @@ pub enum RegionKind<I: Interner> {
131
131
/// regions get eagerly replaced with `ReLateParam` which behaves in the same way as
132
132
/// `ReEarlyParam`. Region parameters are also sometimes implicit,
133
133
/// e.g. in `impl Trait for &()`.
134
- ReEarlyParam ( I :: RegionParameterDefinition ) ,
134
+ ReEarlyParam ( I :: EarlyParamRegion ) ,
135
135
136
136
/// A higher-ranked region. These represent either late-bound function parameters
137
137
/// or bound variables from a `for<'a>`-binder.
@@ -192,7 +192,7 @@ const fn regionkind_discriminant<I: Interner>(value: &RegionKind<I>) -> usize {
192
192
// This is manually implemented because a derive would require `I: Copy`
193
193
impl < I : Interner > Copy for RegionKind < I >
194
194
where
195
- I :: RegionParameterDefinition : Copy ,
195
+ I :: EarlyParamRegion : Copy ,
196
196
I :: BoundRegion : Copy ,
197
197
I :: LateParamRegion : Copy ,
198
198
I :: InferRegion : Copy ,
@@ -264,7 +264,7 @@ impl<I: Interner> fmt::Debug for RegionKind<I> {
264
264
// This is not a derived impl because a derive would require `I: HashStable`
265
265
impl < CTX : HashStableContext , I : Interner > HashStable < CTX > for RegionKind < I >
266
266
where
267
- I :: RegionParameterDefinition : HashStable < CTX > ,
267
+ I :: EarlyParamRegion : HashStable < CTX > ,
268
268
I :: BoundRegion : HashStable < CTX > ,
269
269
I :: LateParamRegion : HashStable < CTX > ,
270
270
I :: InferRegion : HashStable < CTX > ,
0 commit comments