Skip to content

Commit 647e499

Browse files
committed
yeet
1 parent d5633a0 commit 647e499

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

compiler/rustc_middle/src/ty/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
113113
type ExprConst = ty::Expr<'tcx>;
114114

115115
type Region = Region<'tcx>;
116-
type RegionParameterDefinition = ty::EarlyParamRegion;
116+
type EarlyParamRegion = ty::EarlyParamRegion;
117117
type BoundRegion = ty::BoundRegion;
118118
type LateParamRegion = ty::LateParamRegion;
119119
type InferRegion = ty::RegionVid;

compiler/rustc_type_ir/src/interner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub trait Interner: Sized {
4747

4848
// Kinds of regions
4949
type Region: Clone + DebugWithInfcx<Self> + Hash + Ord;
50-
type RegionParameterDefinition: Clone + Debug + Hash + Ord;
50+
type EarlyParamRegion: Clone + Debug + Hash + Ord;
5151
type BoundRegion: Clone + Debug + Hash + Ord;
5252
type LateParamRegion: Clone + Debug + Hash + Ord;
5353
type InferRegion: Clone + DebugWithInfcx<Self> + Hash + Ord;

compiler/rustc_type_ir/src/region_kind.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -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`
193193
impl<I: Interner> Copy for RegionKind<I>
194194
where
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`
265265
impl<CTX: HashStableContext, I: Interner> HashStable<CTX> for RegionKind<I>
266266
where
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

Comments
 (0)