From 2745d3e3d2d4fff988a9557c74fb713f0bf77fb4 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Fri, 3 Jun 2016 22:42:59 -0400 Subject: [PATCH] Update reference to indicate stabilization of `deprecated` attribute. --- src/doc/reference.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index 810138e5a2983..fac9cfadd976e 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1983,6 +1983,7 @@ macro scope. ### Miscellaneous attributes +- `deprecated` - mark the item as deprecated; the full attribute is `#[deprecated(since = "crate version", note = "...")`, where both arguments are optional. - `export_name` - on statics and functions, this determines the name of the exported symbol. - `link_section` - on statics and functions, this specifies the section of the @@ -2426,8 +2427,6 @@ The currently implemented features of the reference compiler are: * - `stmt_expr_attributes` - Allows attributes on expressions and non-item statements. -* - `deprecated` - Allows using the `#[deprecated]` attribute. - * - `type_ascription` - Allows type ascription expressions `expr: Type`. * - `abi_vectorcall` - Allows the usage of the vectorcall calling convention