]> git.lizzy.rs Git - rust.git/commitdiff
manual: update the note about reserved attributes
authorCorey Richardson <corey@octayn.net>
Sun, 30 Mar 2014 03:50:05 +0000 (23:50 -0400)
committerCorey Richardson <corey@octayn.net>
Fri, 4 Apr 2014 04:52:41 +0000 (00:52 -0400)
src/doc/rust.md

index 9e211dda2fb409f6c2e5ea9f619adf580eb02936..239ffa5d690b24ac3cc3d5047b144efbedbd155a 100644 (file)
@@ -1722,13 +1722,12 @@ mod bar {
 pub type int8_t = i8;
 ~~~~
 
-> **Note:** In future versions of Rust, user-provided extensions to the compiler
-> will be able to interpret attributes.  When this facility is provided, the
-> compiler will distinguish between language-reserved and user-available
-> attributes.
+> **Note:** At some point in the future, the compiler will distinguish between
+> language-reserved and user-available attributes. Until then, there is
+> effectively no difference between an attribute handled by a loadable syntax
+> extension and the compiler.
 
-At present, only the Rust compiler interprets attributes, so all attribute names
-are effectively reserved. Some significant attributes include:
+Some significant attributes include:
 
 * The `doc` attribute, for documenting code in-place.
 * The `cfg` attribute, for conditional-compilation by build-configuration (see