Support shorthand ability implementation syntax

This commit is contained in:
Ayaz Hafiz 2022-07-18 13:56:42 -04:00
parent 870294b564
commit c2154ac311
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
5 changed files with 71 additions and 22 deletions

View file

@ -131,6 +131,10 @@ pub enum Problem {
AbilityUsedAsType(Lowercase, Symbol, Region),
NestedSpecialization(Symbol, Region),
IllegalClaimedAbility(Region),
ImplementationNotFound {
member: Symbol,
region: Region,
},
NotAnAbilityMember {
ability: Symbol,
name: String,