mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Implements [TODO](https://github.com/carbon-language/carbon-lang/pull/4275/files#r1751000646) introduced in #4275 . Note that this enforces the restriction syntactically in parse, following the [design](https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/generics/details.md#rewrite-constraints). --------- Co-authored-by: Josh L <josh11b@users.noreply.github.com>