mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This patch cleans up how we emit the errors for disallowing the properties and methods of an actor to be applied to the protocol conformance. Rather than having multiple error messages for each case, we keep one error message saying that the actor-isolated method/variable/what-have-you cannot be used to satisfy a protocol requirement, then allow multiple notes with fix-its to allow the programmer to choose what they want to do. The notes have a better description of what each option does.