@@ -910,6 +910,7 @@ fn is_prim_type_id(resolve: &Resolve, id: TypeId) -> bool {
910910 | TypeDefKind :: Future ( _)
911911 | TypeDefKind :: Stream ( _)
912912 | TypeDefKind :: Unknown => false ,
913+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
913914 }
914915}
915916
@@ -994,6 +995,7 @@ pub fn push_ty_name(resolve: &Resolve, ty: &Type, src: &mut String) {
994995 push_ty_name ( resolve, & Type :: Id ( * resource) , src) ;
995996 }
996997 TypeDefKind :: Unknown => unreachable ! ( ) ,
998+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
997999 }
9981000 }
9991001 }
@@ -1206,6 +1208,7 @@ impl Return {
12061208
12071209 TypeDefKind :: Resource => todo ! ( "return_single for resource" ) ,
12081210 TypeDefKind :: Unknown => unreachable ! ( ) ,
1211+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
12091212 }
12101213
12111214 self . retptrs . push ( * orig_ty) ;
@@ -1839,6 +1842,7 @@ impl InterfaceGenerator<'_> {
18391842 self . free ( & Type :: Id ( * id) , "*ptr" ) ;
18401843 }
18411844 TypeDefKind :: Unknown => unreachable ! ( ) ,
1845+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
18421846 }
18431847 if c_helpers_body_start == self . src . c_helpers . len ( ) {
18441848 self . src . c_helpers . as_mut_string ( ) . truncate ( c_helpers_start) ;
@@ -2497,6 +2501,7 @@ void {name}_return({return_ty}) {{
24972501 TypeDefKind :: Type ( ty) => self . contains_droppable_borrow ( ty) ,
24982502
24992503 TypeDefKind :: Unknown => false ,
2504+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
25002505 }
25012506 } else {
25022507 false
@@ -3862,6 +3867,7 @@ pub fn is_arg_by_pointer(resolve: &Resolve, ty: &Type) -> bool {
38623867 TypeDefKind :: Stream ( _) => false ,
38633868 TypeDefKind :: Resource => todo ! ( "is_arg_by_pointer for resource" ) ,
38643869 TypeDefKind :: Unknown => unreachable ! ( ) ,
3870+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
38653871 } ,
38663872 Type :: String => true ,
38673873 _ => false ,
0 commit comments