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 01:55:58 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 02:26:57 +0530
commitf64d71b6ed3ae9bd2d20c9c43fa6fa9ef46ad16d (patch)
tree534cae96fd48dedb21b17c07524a6af2978ecb27 /src/doc/reference.md
parent1bbf7187ad7775b9a7d59236c17b571d9916a3ec (diff)
downloadrust-f64d71b6ed3ae9bd2d20c9c43fa6fa9ef46ad16d.tar.gz
rust-f64d71b6ed3ae9bd2d20c9c43fa6fa9ef46ad16d.zip
Add custom_attribute and rustc_attrs to reference.md
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 3223e2f2626..7afc40fbdeb 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2399,6 +2399,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.
 
@@ -2459,6 +2463,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.