remove PartialEq for a bunch of types that we should not compare

This commit is contained in:
Folkert 2022-04-20 16:30:20 +02:00
parent b59d33a1d5
commit 8b144c446d
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
15 changed files with 94 additions and 205 deletions

View file

@ -79,7 +79,7 @@ pub struct IncompleteAbilityImplementation {
pub missing_members: Vec<Loc<Symbol>>,
}
#[derive(PartialEq, Debug, Clone)]
#[derive(Debug, Clone)]
pub enum TypeError {
BadExpr(Region, Category, ErrorType, Expected<ErrorType>),
BadPattern(Region, PatternCategory, ErrorType, PExpected<ErrorType>),