summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ir/context.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ir/context.rs b/src/ir/context.rs
index 258c6a0c..d22bde04 100644
--- a/src/ir/context.rs
+++ b/src/ir/context.rs
@@ -1970,7 +1970,13 @@ impl BindgenContext {
CXType_Float => FloatKind::Float,
CXType_Double => FloatKind::Double,
CXType_LongDouble => FloatKind::LongDouble,
- _ => panic!("Non floating-type complex?"),
+ _ => {
+ panic!(
+ "Non floating-type complex? {:?}, {:?}",
+ ty,
+ float_type,
+ )
+ },
};
TypeKind::Complex(float_kind)
}