We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b680084 commit 7ed3ed8Copy full SHA for 7ed3ed8
docs/ReferenceGuides/UnderscoredAttributes.md
@@ -451,6 +451,13 @@ This prevents types from that module being exposed in API
451
(types of public functions, constraints in public extension etc.)
452
and ABI (usage in `@inlinable` code).
453
454
+## `@_spiOnly`
455
+
456
+Marks an import to be used in SPI and implementation details only.
457
+The import statement will be printed in the private swiftinterface only and
458
+skipped in the public swiftinterface. Any use of imported types and decls in API
459
+will be diagnosed.
460
461
## `@_implements(ProtocolName, Requirement)`
462
463
An attribute that indicates that a function with one name satisfies
0 commit comments