@@ -722,6 +722,7 @@ fn is_prim_type_id(resolve: &Resolve, id: TypeId) -> bool {
722
722
| TypeDefKind :: Future ( _)
723
723
| TypeDefKind :: Stream ( _)
724
724
| TypeDefKind :: Unknown => false ,
725
+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
725
726
}
726
727
}
727
728
@@ -794,6 +795,7 @@ pub fn push_ty_name(resolve: &Resolve, ty: &Type, src: &mut String) {
794
795
push_ty_name ( resolve, & Type :: Id ( * resource) , src) ;
795
796
}
796
797
TypeDefKind :: Unknown => unreachable ! ( ) ,
798
+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
797
799
}
798
800
}
799
801
}
@@ -1004,6 +1006,7 @@ impl Return {
1004
1006
TypeDefKind :: Stream ( _) => todo ! ( "return_single for stream" ) ,
1005
1007
TypeDefKind :: Resource => todo ! ( "return_single for resource" ) ,
1006
1008
TypeDefKind :: Unknown => unreachable ! ( ) ,
1009
+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
1007
1010
}
1008
1011
1009
1012
self . retptrs . push ( * orig_ty) ;
@@ -1630,6 +1633,7 @@ impl InterfaceGenerator<'_> {
1630
1633
self . free ( & Type :: Id ( * id) , "*ptr" ) ;
1631
1634
}
1632
1635
TypeDefKind :: Unknown => unreachable ! ( ) ,
1636
+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
1633
1637
}
1634
1638
if c_helpers_body_start == self . src . c_helpers . len ( ) {
1635
1639
self . src . c_helpers . as_mut_string ( ) . truncate ( c_helpers_start) ;
@@ -2101,6 +2105,7 @@ impl InterfaceGenerator<'_> {
2101
2105
TypeDefKind :: Type ( ty) => self . contains_droppable_borrow ( ty) ,
2102
2106
2103
2107
TypeDefKind :: Unknown => false ,
2108
+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
2104
2109
}
2105
2110
} else {
2106
2111
false
@@ -3182,6 +3187,7 @@ pub fn is_arg_by_pointer(resolve: &Resolve, ty: &Type) -> bool {
3182
3187
TypeDefKind :: Stream ( _) => todo ! ( "is_arg_by_pointer for stream" ) ,
3183
3188
TypeDefKind :: Resource => todo ! ( "is_arg_by_pointer for resource" ) ,
3184
3189
TypeDefKind :: Unknown => unreachable ! ( ) ,
3190
+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
3185
3191
} ,
3186
3192
Type :: String => true ,
3187
3193
_ => false ,
0 commit comments