Type fixes

This commit is contained in:
Ayaz Hafiz 2023-07-02 10:37:18 -05:00
parent b2d3b52bd5
commit 3e3d3cc7f3
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 2 additions and 44 deletions

View file

@ -1044,7 +1044,7 @@ pub fn lowlevel_borrow_signature(arena: &Bump, op: LowLevel) -> &[Ownership] {
PtrCast => arena.alloc_slice_copy(&[owned]),
Alloca => arena.alloc_slice_copy(&[owned]),
PtrClearTagId | PtrCast | RefCountIncRcPtr | RefCountDecRcPtr | RefCountIncDataPtr
PtrClearTagId | RefCountIncRcPtr | RefCountDecRcPtr | RefCountIncDataPtr
| RefCountDecDataPtr | RefCountIsUnique => {
unreachable!("Only inserted *after* borrow checking: {:?}", op);
}