Add erased layout

This commit is contained in:
Ayaz Hafiz 2023-06-25 18:22:52 -05:00
parent 510a421748
commit 63db2c0eea
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 33 additions and 35 deletions

View file

@ -75,11 +75,12 @@ cache_interned_layouts! {
15, DEC, pub, nosema!(LayoutRepr::DEC)
16, STR, pub, nosema!(LayoutRepr::STR)
17, OPAQUE_PTR, pub, nosema!(LayoutRepr::OPAQUE_PTR)
18, NAKED_RECURSIVE_PTR, pub(super), nosema!(LayoutRepr::RecursivePointer(Layout::VOID))
19, STR_PTR, pub, nosema!(LayoutRepr::Ptr(Layout::STR))
20, LIST_U8, pub, nosema!(LayoutRepr::Builtin(crate::layout::Builtin::List(Layout::U8)))
18, ERASED, pub, nosema!(LayoutRepr::ERASED)
19, NAKED_RECURSIVE_PTR, pub(super), nosema!(LayoutRepr::RecursivePointer(Layout::VOID))
20, STR_PTR, pub, nosema!(LayoutRepr::Ptr(Layout::STR))
21, LIST_U8, pub, nosema!(LayoutRepr::Builtin(crate::layout::Builtin::List(Layout::U8)))
; 21
; 22
}
macro_rules! impl_to_from_int_width {