mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
lowlevel isUnique
This commit is contained in:
parent
2435bdb41a
commit
ed46a1f2cb
8 changed files with 28 additions and 1 deletions
|
@ -1031,7 +1031,7 @@ pub fn lowlevel_borrow_signature(arena: &Bump, op: LowLevel) -> &[Ownership] {
|
|||
unreachable!("These lowlevel operations are turned into mono Expr's")
|
||||
}
|
||||
|
||||
PtrCast | RefCountInc | RefCountDec => {
|
||||
PtrCast | RefCountInc | RefCountDec | RefCountIsUnique => {
|
||||
unreachable!("Only inserted *after* borrow checking: {:?}", op);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue