Skip to content

Commit d02d4c3

Browse files
committed
Add staged_api and unmarked_api features to reference.md
1 parent b64572c commit d02d4c3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/doc/reference.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,6 +2432,8 @@ The currently implemented features of the reference compiler are:
24322432
* `simd` - Allows use of the `#[simd]` attribute, which is overly simple and
24332433
not the SIMD interface we want to expose in the long term.
24342434

2435+
* `staged_api` - Allows usage of stability markers and `#![staged_api]` in a crate
2436+
24352437
* `struct_inherit` - Allows using struct inheritance, which is barely
24362438
implemented and will probably be removed. Don't use this.
24372439

@@ -2459,6 +2461,11 @@ The currently implemented features of the reference compiler are:
24592461
which is considered wildly unsafe and will be
24602462
obsoleted by language improvements.
24612463

2464+
* `unmarked_api` - Allows use of items within a `#![staged_api]` crate
2465+
which have not been marked with a stability marker.
2466+
Such items should not be allowed by the compiler to exist,
2467+
so if you need this there probably is a compiler bug.
2468+
24622469
* `associated_types` - Allows type aliases in traits. Experimental.
24632470

24642471
If a feature is promoted to a language feature, then all existing programs will

0 commit comments

Comments
 (0)