about summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-17 15:51:53 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 17:33:19 +0530
commit4647d89205992383f8122e8fde0e2615497572bc (patch)
treef850baa569de3bb0ab21cd29d5cd0f43b458eb98 /src/doc/reference.md
parent1a1ac6c1abea03154b510d4788f4f4192a639955 (diff)
parentf64d71b6ed3ae9bd2d20c9c43fa6fa9ef46ad16d (diff)
downloadrust-4647d89205992383f8122e8fde0e2615497572bc.tar.gz
rust-4647d89205992383f8122e8fde0e2615497572bc.zip
Rollup merge of #22364 - Manishearth:rfc-572-forbid-attr, r=nikomatsakis
 fixes #22203

r? @nikomatsakis

This breaks code that might be using attributes randomly, so it's technically a

[breaking-change]
Diffstat (limited to 'src/doc/reference.md')
-rw-r--r--src/doc/reference.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 11b2afc1c88..00ed5d4562b 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2398,6 +2398,10 @@ The currently implemented features of the reference compiler are:
                     ways insufficient for concatenating identifiers, and may be
                     removed entirely for something more wholesome.
 
+* `custom_attribute` - Allows the usage of attributes unknown to the compiler
+                       so that new attributes can be added in a bacwards compatible
+                       manner (RFC 572).
+
 * `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics
                  are inherently unstable and no promise about them is made.
 
@@ -2458,6 +2462,9 @@ The currently implemented features of the reference compiler are:
             implemented very poorly and will likely change significantly
             with a proper implementation.
 
+* `rustc_attrs` - Gates internal `#[rustc_*]` attributes which may be
+                  for internal use only or have meaning added to them in the future.
+
 * `rustc_diagnostic_macros`- A mysterious feature, used in the implementation
                              of rustc, not meant for mortals.