s/Type::Erroneous/Type::Error

This commit is contained in:
Ayaz Hafiz 2022-11-08 13:55:51 -06:00
parent 264eeeb2dc
commit 1b38cd0504
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 25 additions and 25 deletions

View file

@ -3109,7 +3109,7 @@ fn mark_cyclic_alias<'a>(
others: Vec<Symbol>,
report: bool,
) {
*typ = Type::Erroneous;
*typ = Type::Error;
if report {
let problem = Problem::CyclicAlias(symbol, region, others, alias_kind);