mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85879 from xedin/add-supression-note-to-explicit-sendable-warning
[Diagnostics] TildeSendable: Suggest `Sendable` suppression in explic…
This commit is contained in:
@@ -8979,6 +8979,9 @@ NOTE(sendable_conformance_is_suppressed, none,
|
||||
"%kind0 explicitly suppresses conformance to 'Sendable' protocol",
|
||||
(const NominalTypeDecl *))
|
||||
|
||||
NOTE(suppress_sendable_conformance,none,
|
||||
"consider suppressing conformance to 'Sendable' protocol", ())
|
||||
|
||||
ERROR(non_sendable_type_suppressed,none,
|
||||
"cannot both conform to and suppress conformance to 'Sendable'", ())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user