loc_has -> loc_implements

This commit is contained in:
Bryce Miller 2023-05-20 19:24:08 -04:00
parent d700a6a6e6
commit 46cb45f717
No known key found for this signature in database
GPG key ID: F1E97BF8DF152350
5 changed files with 7 additions and 7 deletions

View file

@ -402,7 +402,7 @@ pub enum TypeDef<'a> {
/// hash : a -> U64 | a implements Hash
Ability {
header: TypeHeader<'a>,
loc_has: Loc<Implements<'a>>,
loc_implements: Loc<Implements<'a>>,
members: &'a [AbilityMember<'a>],
},
}
@ -1681,7 +1681,7 @@ impl<'a> Malformed for TypeDef<'a> {
} => header.is_malformed() || typ.is_malformed() || derived.is_malformed(),
TypeDef::Ability {
header,
loc_has,
loc_implements: loc_has,
members,
} => {
header.is_malformed()