[SR-5615] QoI: improve "'public' modifier cannot be used in protocols" #48185
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
Additional Detail from JIRA
md5: 8c5d3f5f2748b48b5ea3f95e260d8c67
Issue Description:
Rather than just flatly reject the code, the error message should explain what's going on, perhaps something like "protocol requirements implicitly have the same access as the protocol".
The text was updated successfully, but these errors were encountered: