summaryrefslogtreecommitdiff
path: root/src/idl_gen_rust.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/idl_gen_rust.cpp')
-rw-r--r--src/idl_gen_rust.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/idl_gen_rust.cpp b/src/idl_gen_rust.cpp
index 77b7bea8..861a2e9c 100644
--- a/src/idl_gen_rust.cpp
+++ b/src/idl_gen_rust.cpp
@@ -130,6 +130,7 @@ FullType GetFullType(const Type &type) {
case ftUnionKey:
case ftUnionValue: {
FLATBUFFERS_ASSERT(false && "vectors of unions are unsupported");
+ break;
}
default: {
FLATBUFFERS_ASSERT(false && "vector of vectors are unsupported");