More can abilities

This commit is contained in:
Ayaz Hafiz 2022-07-15 17:49:42 -04:00
parent e798eb3037
commit d118e5afbc
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 58 additions and 19 deletions

View file

@ -131,6 +131,15 @@ pub enum Problem {
AbilityUsedAsType(Lowercase, Symbol, Region),
NestedSpecialization(Symbol, Region),
IllegalDerive(Region),
ImplementationNotFound {
ability: Symbol,
member: Symbol,
region: Region,
},
NotAnAbilityMember {
ability: Symbol,
region: Region,
},
}
#[derive(Clone, Debug, PartialEq)]