mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Clippy
This commit is contained in:
parent
5ebb85481c
commit
bfd49299e0
1 changed files with 3 additions and 3 deletions
|
@ -2880,12 +2880,12 @@ fn check_for_infinite_type(
|
|||
// walk the chain till we find a tag union or lambda set, starting from the variable that
|
||||
// occurred recursively, which is always at the end of the chain.
|
||||
for &var in chain.iter().rev() {
|
||||
match subs.get_content_without_compacting(var) {
|
||||
&Content::Structure(FlatType::TagUnion(tags, ext_var)) => {
|
||||
match *subs.get_content_without_compacting(var) {
|
||||
Content::Structure(FlatType::TagUnion(tags, ext_var)) => {
|
||||
subs.mark_tag_union_recursive(var, tags, ext_var);
|
||||
continue 'next_occurs_check;
|
||||
}
|
||||
&Content::LambdaSet(subs::LambdaSet {
|
||||
Content::LambdaSet(subs::LambdaSet {
|
||||
solved,
|
||||
recursion_var: _,
|
||||
unspecialized,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue