Change Void to unreachable
This commit is contained in:
parent
73db24970f
commit
9274c63df3
@ -206,7 +206,7 @@ fn type_kind(&self, typ: Type<'gcc>) -> TypeKind {
|
||||
4 => TypeKind::Float,
|
||||
8 => TypeKind::Double,
|
||||
16 => TypeKind::FP128,
|
||||
_ => TypeKind::Void,
|
||||
size => unreachable!("Floating-point type of size {}", size),
|
||||
}
|
||||
} else if typ == self.type_void() {
|
||||
TypeKind::Void
|
||||
|
Loading…
Reference in New Issue
Block a user