mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
use unreachable!
This commit is contained in:
parent
fc233d2a4f
commit
f8a73e0baa
1 changed files with 1 additions and 1 deletions
|
@ -1556,7 +1556,7 @@ fn type_to_variable<'a>(
|
|||
aliases.instantiate(subs, rank, pools, arena, *symbol, alias_variables);
|
||||
|
||||
let alias_variable = match instantiated {
|
||||
Err(_) => panic!("Alias {:?} is not available", symbol),
|
||||
Err(_) => unreachable!("Alias {:?} is not available", symbol),
|
||||
Ok(alias_variable) => alias_variable,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue