Remove Unified BadType

This commit is contained in:
Ayaz Hafiz 2022-11-08 13:40:30 -06:00
parent 09748aec48
commit fb643758bb
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 3 additions and 54 deletions

View file

@ -91,7 +91,7 @@ impl Env<'_> {
internal_error!("Did not expect derivers to need to specialize unspecialized lambda sets, but we got some: {:?}", lambda_sets_to_specialize)
}
}
Unified::Failure(..) | Unified::BadType(..) => {
Unified::Failure(..) => {
internal_error!("Unification failed in deriver - that's a deriver bug!")
}
}
@ -156,7 +156,7 @@ impl Env<'_> {
}
specialization_lsets
}
Unified::Failure(..) | Unified::BadType(..) => {
Unified::Failure(..) => {
internal_error!("Unification failed in deriver - that's a deriver bug!")
}
}