Skip to content

Commit 2745d3e

Browse files
committed
Update reference to indicate stabilization of deprecated attribute.
1 parent 7de2e6d commit 2745d3e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/reference.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,7 @@ macro scope.
19831983

19841984
### Miscellaneous attributes
19851985

1986+
- `deprecated` - mark the item as deprecated; the full attribute is `#[deprecated(since = "crate version", note = "...")`, where both arguments are optional.
19861987
- `export_name` - on statics and functions, this determines the name of the
19871988
exported symbol.
19881989
- `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:
24262427
* - `stmt_expr_attributes` - Allows attributes on expressions and
24272428
non-item statements.
24282429

2429-
* - `deprecated` - Allows using the `#[deprecated]` attribute.
2430-
24312430
* - `type_ascription` - Allows type ascription expressions `expr: Type`.
24322431

24332432
* - `abi_vectorcall` - Allows the usage of the vectorcall calling convention

0 commit comments

Comments
 (0)