mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:20:11 +01:00
Use constant values in code that can work with a canonical value (`TypeStructureReferencesSelf`). Give explicit location ids for the full require decl and the constraint to `ValidateRequire`. Go directly from `InstId` to `TypeId` in `ValidateRequire`. Correctly/explicitly handle constraint instructions which are not types instead of calling `SemIR::TypeId::ForTypeConstant` and hoping for the best. Leave a clear spot where we will subst `.Self` out of the contraint.