You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/reference.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -1983,6 +1983,7 @@ macro scope.
1983
1983
1984
1984
### Miscellaneous attributes
1985
1985
1986
+
-`deprecated` - mark the item as deprecated; the full attribute is `#[deprecated(since = "crate version", note = "...")`, where both arguments are optional.
1986
1987
-`export_name` - on statics and functions, this determines the name of the
1987
1988
exported symbol.
1988
1989
-`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:
2426
2427
*-`stmt_expr_attributes` - Allows attributes on expressions and
2427
2428
non-item statements.
2428
2429
2429
-
*-`deprecated` - Allows using the `#[deprecated]` attribute.
2430
-
2431
2430
*-`type_ascription` - Allows type ascription expressions `expr: Type`.
2432
2431
2433
2432
*-`abi_vectorcall` - Allows the usage of the vectorcall calling convention
0 commit comments