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

@ -1601,7 +1601,7 @@ fn low_level_no_rc(lowlevel: &LowLevel) -> RC {
PtrCast => RC::NoRc,
Alloca => RC::NoRc,
PtrClearTagId | PtrCast | RefCountIncRcPtr | RefCountDecRcPtr | RefCountIncDataPtr
PtrClearTagId | RefCountIncRcPtr | RefCountDecRcPtr | RefCountIncDataPtr
| RefCountDecDataPtr | RefCountIsUnique => {
unreachable!("Only inserted *after* borrow checking: {:?}", lowlevel);
}