-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc: implement unstable(issue = "nnn")
.
#26747
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
cc @rust-lang/libs, particularly @aturon and @alexcrichton |
@@ -501,6 +517,11 @@ fn find_stability_generic<'a, | |||
either stable or unstable attribute"); | |||
} | |||
} | |||
} else if stab.as_ref().map_or(false, |s| s.level == Unstable && s.issue.is_none()) { | |||
// no-deprecated unstable items need to point to issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-deprecated
r=me for the actual code with nits addressed Actual feature itself seems legit (I vaguely recall overhearing this discussed as desirable earlier today) |
No opinion here. |
This takes an issue number and points people to it in the printed error message. This commit does not make it an error to have no `issue` field.
This takes an issue number and points people to it in the printed error message. This commit does not make it an error to have no `issue` field.
This takes an issue number and points people to it in the printed error
message. This commit does not make it an error to have no
issue
field.