commit 636319739fc4515766685389bc8570b5a22c0e4b
parent 69b19b9240d1b0594025f2ccb81e9b151057e377
Author: Sebastian <sebastian@sebsite.pw>
Date: Fri, 29 Sep 2023 22:19:52 -0400
hare::unparse: fix inexhaustive match
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hare/unparse/type.ha b/hare/unparse/type.ha
@@ -112,6 +112,7 @@ fn struct_union_type(
z += space(ctx)?;
z += syn(ctx, "{", synkind::PUNCTUATION)?;
yield ut: []ast::struct_member;
+ case => abort(); // unreachable
};
ctx.indent += 1z;