@@ -105,7 +105,7 @@ impl<'tcx> CanonicalVarInfo<'tcx> {
105105 CanonicalVarKind :: Region ( _) => true ,
106106 CanonicalVarKind :: PlaceholderRegion ( ..) => false ,
107107 CanonicalVarKind :: Const ( ..) => true ,
108- CanonicalVarKind :: PlaceholderConst ( _) => false ,
108+ CanonicalVarKind :: PlaceholderConst ( _, _ ) => false ,
109109 }
110110 }
111111}
@@ -133,7 +133,7 @@ pub enum CanonicalVarKind<'tcx> {
133133 Const ( ty:: UniverseIndex , Ty < ' tcx > ) ,
134134
135135 /// A "placeholder" that represents "any const".
136- PlaceholderConst ( ty:: PlaceholderConst < ' tcx > ) ,
136+ PlaceholderConst ( ty:: PlaceholderConst < ' tcx > , Ty < ' tcx > ) ,
137137}
138138
139139impl < ' tcx > CanonicalVarKind < ' tcx > {
@@ -148,7 +148,7 @@ impl<'tcx> CanonicalVarKind<'tcx> {
148148 CanonicalVarKind :: Region ( ui) => ui,
149149 CanonicalVarKind :: PlaceholderRegion ( placeholder) => placeholder. universe ,
150150 CanonicalVarKind :: Const ( ui, _) => ui,
151- CanonicalVarKind :: PlaceholderConst ( placeholder) => placeholder. universe ,
151+ CanonicalVarKind :: PlaceholderConst ( placeholder, _ ) => placeholder. universe ,
152152 }
153153 }
154154}
0 commit comments