mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85319 from xedin/rdar-162394810
[AST/Sema] Add a diagnostic group `ExplicitSendable` to replace `-require-explicit-sendable`
This commit is contained in:
@@ -2857,9 +2857,9 @@ WARNING(remove_public_import,none,
|
||||
WARNING(remove_package_import,none,
|
||||
"package import of %0 was not used in package declarations",
|
||||
(Identifier))
|
||||
WARNING(public_decl_needs_sendable,none,
|
||||
"public %kind0 does not specify whether it is 'Sendable' or not",
|
||||
(const ValueDecl *))
|
||||
GROUPED_WARNING(public_decl_needs_sendable,ExplicitSendable,none,
|
||||
"public %kind0 does not specify whether it is 'Sendable' or not",
|
||||
(const ValueDecl *))
|
||||
NOTE(explicit_disable_sendable,none,
|
||||
"make %kind0 explicitly non-Sendable to suppress this warning",
|
||||
(const ValueDecl *))
|
||||
|
||||
Reference in New Issue
Block a user