mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 17:38:14 +00:00
> We don’t allow a where constraint unless it applies a restriction to the current type. This means referring to some [designator](https://docs.carbon-lang.dev/docs/design/generics/details.html#kinds-of-where-constraints), like .MemberName, or [.Self](https://docs.carbon-lang.dev/docs/design/generics/details.html#recursive-constraints). https://docs.carbon-lang.dev/docs/design/generics/details.html#constraints-must-use-a-designator