Disallow passing CxxVector by move
diff --git a/syntax/check.rs b/syntax/check.rs
index 4f52cb6..b61570c 100644
--- a/syntax/check.rs
+++ b/syntax/check.rs
@@ -303,7 +303,7 @@
fn is_unsized(cx: &mut Check, ty: &Type) -> bool {
let ident = match ty {
Type::Ident(ident) => ident,
- Type::Slice(_) | Type::Void(_) => return true,
+ Type::CxxVector(_) | Type::Slice(_) | Type::Void(_) => return true,
_ => return false,
};
ident == CxxString || cx.types.cxx.contains(ident) || cx.types.rust.contains(ident)