mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-26 08:01:14 +00:00
Make the `AssignImplIdInWitness` into a `static` helper function since it's only used inside `GetOrAddImpl`. Restructure the diagnostic for unused generic bindings to move more logic into the helper, and out of `GetOrAddImpl` so that it has more clear steps. This is part of #6420 which is being split up into a chain of smaller PRs. It is based on #6468.