From 262cf4c0399dea6f9947f4d03e7091a8d1c46aa1 Mon Sep 17 00:00:00 2001 From: Frank Emrich Date: Fri, 11 Aug 2023 15:58:33 +0100 Subject: [PATCH] missing case for StructuralType::Cont(_) --- crates/wit-component/src/linking/metadata.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/wit-component/src/linking/metadata.rs b/crates/wit-component/src/linking/metadata.rs index d1f1d2eda7..4f99d2399e 100644 --- a/crates/wit-component/src/linking/metadata.rs +++ b/crates/wit-component/src/linking/metadata.rs @@ -348,6 +348,7 @@ impl<'a> Metadata<'a> { r.map(|ty| match ty.structural_type { StructuralType::Func(ty) => Some(ty), StructuralType::Array(_) | StructuralType::Struct(_) => None, + StructuralType::Cont(_) => todo!() }) .transpose() })