@@ -1044,8 +1044,8 @@ const NUM_PREINTERNED_FRESH_FLOAT_TYS: u32 = 3;
1044
1044
1045
1045
// This number may seem high, but it is reached in all but the smallest crates.
1046
1046
const NUM_PREINTERNED_RE_VARS : u32 = 500 ;
1047
- const NUM_PREINTERNED_RE_LATE_BOUNDS_I : u32 = 2 ;
1048
- const NUM_PREINTERNED_RE_LATE_BOUNDS_V : u32 = 20 ;
1047
+ const NUM_PREINTERNED_ANON_RE_BOUNDS_I : u32 = 3 ;
1048
+ const NUM_PREINTERNED_ANON_RE_BOUNDS_V : u32 = 20 ;
1049
1049
1050
1050
pub struct CommonTypes < ' tcx > {
1051
1051
pub unit : Ty < ' tcx > ,
@@ -1101,9 +1101,9 @@ pub struct CommonLifetimes<'tcx> {
1101
1101
pub re_vars : Vec < Region < ' tcx > > ,
1102
1102
1103
1103
/// Pre-interned values of the form:
1104
- /// `ReBound(DebruijnIndex(i), BoundRegion { var: v, kind: BrAnon })`
1104
+ /// `ReBound(DebruijnIndex(i), BoundRegion { var: v, kind: BoundRegionKind::Anon })`
1105
1105
/// for small values of `i` and `v`.
1106
- pub re_late_bounds : Vec < Vec < Region < ' tcx > > > ,
1106
+ pub anon_re_bounds : Vec < Vec < Region < ' tcx > > > ,
1107
1107
}
1108
1108
1109
1109
pub struct CommonConsts < ' tcx > {
@@ -1176,9 +1176,9 @@ impl<'tcx> CommonLifetimes<'tcx> {
1176
1176
let re_vars =
1177
1177
( 0 ..NUM_PREINTERNED_RE_VARS ) . map ( |n| mk ( ty:: ReVar ( ty:: RegionVid :: from ( n) ) ) ) . collect ( ) ;
1178
1178
1179
- let re_late_bounds = ( 0 ..NUM_PREINTERNED_RE_LATE_BOUNDS_I )
1179
+ let anon_re_bounds = ( 0 ..NUM_PREINTERNED_ANON_RE_BOUNDS_I )
1180
1180
. map ( |i| {
1181
- ( 0 ..NUM_PREINTERNED_RE_LATE_BOUNDS_V )
1181
+ ( 0 ..NUM_PREINTERNED_ANON_RE_BOUNDS_V )
1182
1182
. map ( |v| {
1183
1183
mk ( ty:: ReBound (
1184
1184
ty:: DebruijnIndex :: from ( i) ,
@@ -1196,7 +1196,7 @@ impl<'tcx> CommonLifetimes<'tcx> {
1196
1196
re_static : mk ( ty:: ReStatic ) ,
1197
1197
re_erased : mk ( ty:: ReErased ) ,
1198
1198
re_vars,
1199
- re_late_bounds ,
1199
+ anon_re_bounds ,
1200
1200
}
1201
1201
}
1202
1202
}
0 commit comments