Skip to content

Commit a410833

Browse files
committed
manual: update the note about reserved attributes
1 parent 2a2d0dc commit a410833

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/doc/rust.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,13 +1722,12 @@ mod bar {
17221722
pub type int8_t = i8;
17231723
~~~~
17241724

1725-
> **Note:** In future versions of Rust, user-provided extensions to the compiler
1726-
> will be able to interpret attributes. When this facility is provided, the
1727-
> compiler will distinguish between language-reserved and user-available
1728-
> attributes.
1725+
> **Note:** At some point in the future, the compiler will distinguish between
1726+
> language-reserved and user-available attributes. Until then, there is
1727+
> effectively no difference between an attribute handled by a loadable syntax
1728+
> extension and the compiler.
17291729
1730-
At present, only the Rust compiler interprets attributes, so all attribute names
1731-
are effectively reserved. Some significant attributes include:
1730+
Some significant attributes include:
17321731

17331732
* The `doc` attribute, for documenting code in-place.
17341733
* The `cfg` attribute, for conditional-compilation by build-configuration (see

0 commit comments

Comments
 (0)