]> git.lizzy.rs Git - rust.git/commitdiff
Add custom_attribute and rustc_attrs to reference.md
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 16 Feb 2015 20:25:58 +0000 (01:55 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Mon, 16 Feb 2015 20:56:57 +0000 (02:26 +0530)
src/doc/reference.md

index 3223e2f2626530ff8f11c0c1d8d6ff366fab2ae1..7afc40fbdeb851167d54ff0a586b767fdfc92c00 100644 (file)
@@ -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.