@@ -722,6 +722,7 @@ fn is_prim_type_id(resolve: &Resolve, id: TypeId) -> bool {
722722 | TypeDefKind :: Future ( _)
723723 | TypeDefKind :: Stream ( _)
724724 | TypeDefKind :: Unknown => false ,
725+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
725726 }
726727}
727728
@@ -794,6 +795,7 @@ pub fn push_ty_name(resolve: &Resolve, ty: &Type, src: &mut String) {
794795 push_ty_name ( resolve, & Type :: Id ( * resource) , src) ;
795796 }
796797 TypeDefKind :: Unknown => unreachable ! ( ) ,
798+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
797799 }
798800 }
799801 }
@@ -1004,6 +1006,7 @@ impl Return {
10041006 TypeDefKind :: Stream ( _) => todo ! ( "return_single for stream" ) ,
10051007 TypeDefKind :: Resource => todo ! ( "return_single for resource" ) ,
10061008 TypeDefKind :: Unknown => unreachable ! ( ) ,
1009+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
10071010 }
10081011
10091012 self . retptrs . push ( * orig_ty) ;
@@ -1630,6 +1633,7 @@ impl InterfaceGenerator<'_> {
16301633 self . free ( & Type :: Id ( * id) , "*ptr" ) ;
16311634 }
16321635 TypeDefKind :: Unknown => unreachable ! ( ) ,
1636+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
16331637 }
16341638 if c_helpers_body_start == self . src . c_helpers . len ( ) {
16351639 self . src . c_helpers . as_mut_string ( ) . truncate ( c_helpers_start) ;
@@ -2101,6 +2105,7 @@ impl InterfaceGenerator<'_> {
21012105 TypeDefKind :: Type ( ty) => self . contains_droppable_borrow ( ty) ,
21022106
21032107 TypeDefKind :: Unknown => false ,
2108+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
21042109 }
21052110 } else {
21062111 false
@@ -3182,6 +3187,7 @@ pub fn is_arg_by_pointer(resolve: &Resolve, ty: &Type) -> bool {
31823187 TypeDefKind :: Stream ( _) => todo ! ( "is_arg_by_pointer for stream" ) ,
31833188 TypeDefKind :: Resource => todo ! ( "is_arg_by_pointer for resource" ) ,
31843189 TypeDefKind :: Unknown => unreachable ! ( ) ,
3190+ TypeDefKind :: FixedSizeList ( _, _) => todo ! ( ) ,
31853191 } ,
31863192 Type :: String => true ,
31873193 _ => false ,
0 commit comments