This commit is contained in:
Boxy 2022-12-06 16:40:57 +00:00
parent b6852428a8
commit 0070fae2dc
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ pub fn is_const_evaluatable<'tcx>(
ty::ConstKind::Expr(_) => {
// FIXME(generic_const_exprs): we have a `ConstKind::Expr` which is fully concrete, but
// currently it is not possible to evaluate `ConstKind::Expr` so we are unable to tell if it
// is evaluatable or not. For now we just ICE until this is implemented this.
// is evaluatable or not. For now we just ICE until this is implemented.
Err(NotConstEvaluatable::Error(tcx.sess.delay_span_bug(
span,
"evaluating `ConstKind::Expr` is not currently supported",