mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-17 22:10:29 +00:00
If `Self` is not in the self type, then it must be an argument to every interface required by the declaration. Specifically, this means the interfaces in the identified facet type, and does not matter if `Self` appears in the arguments of named constraints. Fix the diagnostic to stop saying "constraint" incorrectly. And improve clarity by including in the diagnostic which interface it found without `Self` as an argument, since it may be found in some other named constraint, rather than directly in the facet type as written.