has -> implements in comments

This commit is contained in:
Bryce Miller 2023-05-26 20:37:02 -04:00
parent d97d0c5483
commit 33c2b9dfdd
No known key found for this signature in database
GPG key ID: F1E97BF8DF152350
5 changed files with 9 additions and 9 deletions

View file

@ -450,7 +450,7 @@ fn contains_unexposed_type(
false
}
Where(loc_ann, _loc_has_clauses) => {
// We assume all the abilities in the `has` clause are from exported modules.
// We assume all the abilities in the `implements` clause are from exported modules.
// TODO don't assume this! Instead, look them up and verify.
contains_unexposed_type(&loc_ann.value, exposed_module_ids, module_ids)
}