diff options
| author | Corey Richardson <corey@octayn.net> | 2014-03-29 23:50:05 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2014-04-04 00:52:41 -0400 |
| commit | a410833a7f86363a5929e46d1bc2087375d91f0c (patch) | |
| tree | 44489a23d917131ec5d767c5d41dfe606fac4adf /src | |
| parent | 2a2d0dce87d8d2d77a1266a3b255b04651f36fe2 (diff) | |
manual: update the note about reserved attributes
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rust.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/doc/rust.md b/src/doc/rust.md index 9e211dda2fb..239ffa5d690 100644 --- a/src/doc/rust.md +++ b/src/doc/rust.md @@ -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 |
