@@ -910,6 +910,7 @@ fn is_prim_type_id(resolve: &Resolve, id: TypeId) -> bool {
910
910
| TypeDefKind :: Future ( _)
911
911
| TypeDefKind :: Stream ( _)
912
912
| TypeDefKind :: Unknown => false ,
913
+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
913
914
}
914
915
}
915
916
@@ -994,6 +995,7 @@ pub fn push_ty_name(resolve: &Resolve, ty: &Type, src: &mut String) {
994
995
push_ty_name ( resolve, & Type :: Id ( * resource) , src) ;
995
996
}
996
997
TypeDefKind :: Unknown => unreachable ! ( ) ,
998
+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
997
999
}
998
1000
}
999
1001
}
@@ -1206,6 +1208,7 @@ impl Return {
1206
1208
1207
1209
TypeDefKind :: Resource => todo ! ( "return_single for resource" ) ,
1208
1210
TypeDefKind :: Unknown => unreachable ! ( ) ,
1211
+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
1209
1212
}
1210
1213
1211
1214
self . retptrs . push ( * orig_ty) ;
@@ -1839,6 +1842,7 @@ impl InterfaceGenerator<'_> {
1839
1842
self . free ( & Type :: Id ( * id) , "*ptr" ) ;
1840
1843
}
1841
1844
TypeDefKind :: Unknown => unreachable ! ( ) ,
1845
+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
1842
1846
}
1843
1847
if c_helpers_body_start == self . src . c_helpers . len ( ) {
1844
1848
self . src . c_helpers . as_mut_string ( ) . truncate ( c_helpers_start) ;
@@ -2497,6 +2501,7 @@ void {name}_return({return_ty}) {{
2497
2501
TypeDefKind :: Type ( ty) => self . contains_droppable_borrow ( ty) ,
2498
2502
2499
2503
TypeDefKind :: Unknown => false ,
2504
+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
2500
2505
}
2501
2506
} else {
2502
2507
false
@@ -3862,6 +3867,7 @@ pub fn is_arg_by_pointer(resolve: &Resolve, ty: &Type) -> bool {
3862
3867
TypeDefKind :: Stream ( _) => false ,
3863
3868
TypeDefKind :: Resource => todo ! ( "is_arg_by_pointer for resource" ) ,
3864
3869
TypeDefKind :: Unknown => unreachable ! ( ) ,
3870
+ TypeDefKind :: FixedSizeList ( ..) => todo ! ( ) ,
3865
3871
} ,
3866
3872
Type :: String => true ,
3867
3873
_ => false ,
0 commit comments