adjust panic message
This commit is contained in:
parent
6b4a80d891
commit
9e99cc19c7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue