Skip to content

Commit be8e7db

Browse files
Merge pull request #61399 from MarcoEidinger/spiOnlyDocImpr
[Docs] improve @_spiOnly attribute info
2 parents e0def4e + 9c23df2 commit be8e7db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/ReferenceGuides/UnderscoredAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ Marks an import to be used in SPI and implementation details only.
478478
The import statement will be printed in the private swiftinterface only and
479479
skipped in the public swiftinterface. Any use of imported types and decls in API
480480
will be diagnosed.
481+
Requires setting the frontend flag `-experimental-spi-only-imports`.
481482

482483
## `@_implements(ProtocolName, Requirement)`
483484

0 commit comments

Comments
 (0)