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

@ -1408,7 +1408,7 @@ fn finish_parsing_ability_def_help<'a>(
let def_region = Region::span_across(&name.region, &demands.last().unwrap().typ.region);
let type_def = TypeDef::Ability {
header: TypeHeader { name, vars: args },
loc_has,
loc_implements: loc_has,
members: demands.into_bump_slice(),
};