Skip to content

Commit b9acbff

Browse files
committed
Add Const branch to new match in test.
1 parent 964bfc1 commit b9acbff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hugr-core/src/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,8 @@ pub(super) mod proptest_utils {
11551155
| TypeParamSer::String
11561156
| TypeParamSer::Bytes
11571157
| TypeParamSer::Float
1158-
| TypeParamSer::StaticType => true,
1158+
| TypeParamSer::StaticType
1159+
| TypeParamSer::Const { .. } => true,
11591160
TypeParamSer::List { param } => term_is_serde_type_param(&param),
11601161
TypeParamSer::Tuple { params } => {
11611162
match &params {

0 commit comments

Comments
 (0)