1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

adjust panic message

This commit is contained in:
schaeff 2021-06-16 16:36:44 +02:00
parent 6b4a80d891
commit 9e99cc19c7

View file

@ -143,7 +143,7 @@ impl<'ast, T: Field> Folder<'ast, T> for ConstantInliner<'ast, T> {
inner: UExpressionInner::Value(v), inner: UExpressionInner::Value(v),
.. ..
}) => v as u32, }) => v as u32,
_ => unreachable!("all constants should be reduceable to u32 literals"), _ => unreachable!("all constants found in declaration types should be reduceable to u32 literals"),
}) })
} }
c => c, c => c,