File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -988,11 +988,10 @@ impl Type {
988
988
( ty. template_args ( ) . is_some ( ) &&
989
989
ty_kind != CXType_Typedef ) {
990
990
// This is a template instantiation.
991
- let inst = match TemplateInstantiation :: from_ty ( & ty, ctx) {
992
- Some ( inst) => inst,
993
- None => return Err ( ParseError :: Continue ) ,
994
- } ;
995
- TypeKind :: TemplateInstantiation ( inst)
991
+ match TemplateInstantiation :: from_ty ( & ty, ctx) {
992
+ Some ( inst) => TypeKind :: TemplateInstantiation ( inst) ,
993
+ None => TypeKind :: Opaque ,
994
+ }
996
995
} else {
997
996
match ty_kind {
998
997
CXType_Unexposed if * ty != canonical_ty &&
Original file line number Diff line number Diff line change 4
4
#![ allow( non_snake_case) ]
5
5
6
6
7
- pub type std_make_integer_sequence < T > = T ;
7
+ pub type std_make_integer_sequence = u8 ;
You can’t perform that action at this time.
0 commit comments