@@ -126,9 +126,8 @@ impl<'tcx> LowerInto<'tcx, chalk_ir::InEnvironment<chalk_ir::Goal<RustInterner<'
126
126
| ty:: Predicate :: ObjectSafe ( ..)
127
127
| ty:: Predicate :: ClosureKind ( ..)
128
128
| ty:: Predicate :: Subtype ( ..)
129
- | ty:: Predicate :: ConstEvaluatable ( ..) => {
130
- bug ! ( "unexpected predicate {}" , predicate)
131
- }
129
+ | ty:: Predicate :: ConstEvaluatable ( ..)
130
+ | ty:: Predicate :: ConstEquate ( ..) => bug ! ( "unexpected predicate {}" , predicate) ,
132
131
}
133
132
}
134
133
ChalkEnvironmentClause :: TypeFromEnv ( ty) => Some (
@@ -192,9 +191,8 @@ impl<'tcx> LowerInto<'tcx, chalk_ir::GoalData<RustInterner<'tcx>>> for ty::Predi
192
191
Predicate :: ObjectSafe ( ..)
193
192
| Predicate :: ClosureKind ( ..)
194
193
| Predicate :: Subtype ( ..)
195
- | Predicate :: ConstEvaluatable ( ..) => {
196
- chalk_ir:: GoalData :: All ( chalk_ir:: Goals :: new ( interner) )
197
- }
194
+ | Predicate :: ConstEvaluatable ( ..)
195
+ | Predicate :: ConstEquate ( ..) => chalk_ir:: GoalData :: All ( chalk_ir:: Goals :: new ( interner) ) ,
198
196
}
199
197
}
200
198
}
@@ -459,7 +457,8 @@ impl<'tcx> LowerInto<'tcx, Option<chalk_ir::QuantifiedWhereClause<RustInterner<'
459
457
Predicate :: ObjectSafe ( ..)
460
458
| Predicate :: ClosureKind ( ..)
461
459
| Predicate :: Subtype ( ..)
462
- | Predicate :: ConstEvaluatable ( ..) => bug ! ( "unexpected predicate {}" , & self ) ,
460
+ | Predicate :: ConstEvaluatable ( ..)
461
+ | Predicate :: ConstEquate ( ..) => bug ! ( "unexpected predicate {}" , & self ) ,
463
462
}
464
463
}
465
464
}
0 commit comments