change ConstEvaluatable to use ty::Const
This commit is contained in:
@@ -682,7 +682,7 @@ pub enum PredicateKind<'tcx> {
|
||||
Coerce(CoercePredicate<'tcx>),
|
||||
|
||||
/// Constant initializer must evaluate successfully.
|
||||
ConstEvaluatable(ty::UnevaluatedConst<'tcx>),
|
||||
ConstEvaluatable(ty::Const<'tcx>),
|
||||
|
||||
/// Constants must be equal. The first component is the const that is expected.
|
||||
ConstEquate(Const<'tcx>, Const<'tcx>),
|
||||
|
||||
Reference in New Issue
Block a user