Attribute docs deprecated , warn, allow, cfg, deny, and forbid #158244
Attribute docs deprecated , warn, allow, cfg, deny, and forbid #158244kantnero wants to merge 4 commits into
deprecated , warn, allow, cfg, deny, and forbid #158244Conversation
|
Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
|
Reminder, once the PR becomes ready for a review, use |
deprecated and warndeprecated , warn, allow, cfg, deny, and forbid
|
@GuillaumeGomez I have addressed it. Please have a look at it |
… attribute Signed-off-by: Emmanuel Ugwu <emmanuelugwu121@gmail.com>
20a1e85 to
e9b4cfc
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
cc @rust-lang/lang-docs |
| /// `since`: the version since when the item is deprecated. | ||
| /// `note`: the reason why an item is deprecated. |
There was a problem hiding this comment.
| /// `since`: the version since when the item is deprecated. | |
| /// `note`: the reason why an item is deprecated. | |
| /// * `since`: the version since when the item is deprecated. | |
| /// * `note`: the reason why an item is deprecated. |
Signed-off-by: Emmanuel Ugwu <emmanuelugwu121@gmail.com>
Signed-off-by: Emmanuel Ugwu <emmanuelugwu121@gmail.com>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Emmanuel Ugwu <emmanuelugwu121@gmail.com>
4881c0f to
f10d106
Compare
View all comments
Added documentation for built-in
deprecated,warn,allow,cfg,deny, andforbidattributes using the #[doc(attribute = "...")] mechanism.Part of #157604
@rustbot r? @GuillaumeGomez
cc @fmease
cc @mejrs