Skip to content

Commit f64d71b

Browse files
committed
Add custom_attribute and rustc_attrs to reference.md
1 parent 1bbf718 commit f64d71b

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
@@ -2399,6 +2399,10 @@ The currently implemented features of the reference compiler are:
23992399
ways insufficient for concatenating identifiers, and may be
24002400
removed entirely for something more wholesome.
24012401

2402+
* `custom_attribute` - Allows the usage of attributes unknown to the compiler
2403+
so that new attributes can be added in a bacwards compatible
2404+
manner (RFC 572).
2405+
24022406
* `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics
24032407
are inherently unstable and no promise about them is made.
24042408

@@ -2459,6 +2463,9 @@ The currently implemented features of the reference compiler are:
24592463
implemented very poorly and will likely change significantly
24602464
with a proper implementation.
24612465

2466+
* `rustc_attrs` - Gates internal `#[rustc_*]` attributes which may be
2467+
for internal use only or have meaning added to them in the future.
2468+
24622469
* `rustc_diagnostic_macros`- A mysterious feature, used in the implementation
24632470
of rustc, not meant for mortals.
24642471

0 commit comments

Comments
 (0)