add LayoutRepr::Ptr

This commit is contained in:
Folkert 2023-06-18 15:44:40 +02:00
parent a9f7961b52
commit 17512873e8
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
18 changed files with 62 additions and 8 deletions

View file

@ -390,6 +390,10 @@ fn build_clone<'a, 'ctx>(
)
}
LayoutRepr::Ptr(_) => {
unreachable!("for internal use only")
}
LayoutRepr::RecursivePointer(rec_layout) => {
let layout = rec_layout;