We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d8c338 commit eaf638bCopy full SHA for eaf638b
src/ir/ty.rs
@@ -988,11 +988,10 @@ impl Type {
988
(ty.template_args().is_some() &&
989
ty_kind != CXType_Typedef) {
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)
+ match TemplateInstantiation::from_ty(&ty, ctx) {
+ Some(inst) => TypeKind::TemplateInstantiation(inst),
+ None => TypeKind::Opaque,
+ }
996
} else {
997
match ty_kind {
998
CXType_Unexposed if *ty != canonical_ty &&
tests/expectations/tests/builtin-template.rs
@@ -4,4 +4,4 @@
4
#![allow(non_snake_case)]
5
6
7
-pub type std_make_integer_sequence<T> = T;
+pub type std_make_integer_sequence = u8;
0 commit comments