From f64d71b6ed3ae9bd2d20c9c43fa6fa9ef46ad16d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 17 Feb 2015 01:55:58 +0530 Subject: [PATCH] Add custom_attribute and rustc_attrs to reference.md --- src/doc/reference.md | 7 +++++++ 1 file changed, 7 insertions(+) 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.