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.
safe
unsafe
1 parent b18ade5 commit 277dbe4Copy full SHA for 277dbe4
src/items/external-blocks.md
@@ -25,7 +25,8 @@ blocks is only allowed in an `unsafe` context.
25
26
**Edition differences**: Starting in the 2024 edition, the `unsafe` keyword is
27
required to appear before the `extern` keyword on external blocks. In previous
28
-editions, it is accepted but not required.
+editions, it is accepted but not required. The `safe` and `unsafe` item qualifiers
29
+are only allowed if the external block itself is marked as `unsafe`.
30
31
## Functions
32
0 commit comments