You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tagging as a Starter Bug. It should be possible to get the location of the ":" from a RequirementRepr, which is one of the possible representations of a GenericSignatureBuilder::FloatingRequirementSource. The diagnostic is emitted from GenericSignatureBuilder::addTypeRequirement (look for diag::requires_conformance_nonprotocol).
Additional Detail from JIRA
md5: 809f447920d386ee0c54381c40fa3859
Issue Description:
If you try to constrain a generic parameter to a concrete type using a : you'll get an error message:
We should also offer a fix it to replace the
:
with==
.The text was updated successfully, but these errors were encountered: