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

@ -1398,7 +1398,7 @@ fn resolve_abilities(
}
[..] => {
// There is more than one variable bound to the member signature, so something like
// Eq has eq : a, b -> Bool | a has Eq, b implements Eq
// Eq has eq : a, b -> Bool | a implements Eq, b implements Eq
// We have no way of telling what type implements a particular instance of Eq in
// this case (a or b?), so disallow it.
let span_has_clauses = Region::across_all(