assert type sizes

This commit is contained in:
Folkert 2021-08-03 22:16:27 +02:00
parent d4896d3ed2
commit f301de5576
9 changed files with 17 additions and 21 deletions

View file

@ -59,6 +59,8 @@ pub enum TagName {
Closure(Symbol),
}
static_assertions::assert_eq_size!([u8; 24], TagName);
impl TagName {
pub fn as_ident_str(&self, interns: &Interns, home: ModuleId) -> IdentStr {
match self {