@@ -105,7 +105,7 @@ impl<'tcx> CanonicalVarInfo<'tcx> {
105
105
CanonicalVarKind :: Region ( _) => true ,
106
106
CanonicalVarKind :: PlaceholderRegion ( ..) => false ,
107
107
CanonicalVarKind :: Const ( ..) => true ,
108
- CanonicalVarKind :: PlaceholderConst ( _) => false ,
108
+ CanonicalVarKind :: PlaceholderConst ( _, _ ) => false ,
109
109
}
110
110
}
111
111
}
@@ -133,7 +133,7 @@ pub enum CanonicalVarKind<'tcx> {
133
133
Const ( ty:: UniverseIndex , Ty < ' tcx > ) ,
134
134
135
135
/// A "placeholder" that represents "any const".
136
- PlaceholderConst ( ty:: PlaceholderConst < ' tcx > ) ,
136
+ PlaceholderConst ( ty:: PlaceholderConst < ' tcx > , Ty < ' tcx > ) ,
137
137
}
138
138
139
139
impl < ' tcx > CanonicalVarKind < ' tcx > {
@@ -148,7 +148,7 @@ impl<'tcx> CanonicalVarKind<'tcx> {
148
148
CanonicalVarKind :: Region ( ui) => ui,
149
149
CanonicalVarKind :: PlaceholderRegion ( placeholder) => placeholder. universe ,
150
150
CanonicalVarKind :: Const ( ui, _) => ui,
151
- CanonicalVarKind :: PlaceholderConst ( placeholder) => placeholder. universe ,
151
+ CanonicalVarKind :: PlaceholderConst ( placeholder, _ ) => placeholder. universe ,
152
152
}
153
153
}
154
154
}
0 commit comments