fix other test failures

This commit is contained in:
Folkert 2020-07-18 00:18:55 +02:00
parent 706a2f3986
commit 6e7ec8cd2c
4 changed files with 13 additions and 13 deletions

View file

@ -1434,7 +1434,7 @@ fn constrain_var(
]),
)
}
Some(Simple(Unique)) => {
Some(Simple(Unique)) | Some(Simple(Seen)) => {
// no additional constraints, keep uniqueness unbound
Lookup(symbol_for_lookup, expected, region)
}
@ -1457,8 +1457,6 @@ fn constrain_var(
]),
)
}
Some(other) => panic!("some other rc value: {:?}", other),
}
}