-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Feature gate the rustdoc::missing_doc_code_examples
lint
#101732
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
Conversation
r? @fee1-dead (rust-highfive has picked a reviewer for you, use r? to override) |
@@ -221,6 +221,8 @@ declare_features! ( | |||
(active, rustc_private, "1.0.0", Some(27812), None), | |||
/// Allows using internal rustdoc features like `doc(primitive)` or `doc(keyword)`. | |||
(active, rustdoc_internals, "1.58.0", Some(90418), None), | |||
/// Allows using the `rustdoc::missing_doc_code_examples` lint | |||
(active, rustdoc_missing_doc_code_examples, "1.31.0", Some(101730), None), |
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.
This is the version the original lint merged into, I'm not sure if this should just use the current nightly version instead though?
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.
I suppose it doesn't matter much. The important version is the stable one once it gets stabilized.
0ea9508
to
d09ff68
Compare
Yes 🙄 |
Looks good to me, thanks! r=me once Ci pass |
d09ff68
to
72cf46a
Compare
@bors r=GuillaumeGomez rollup |
Moves the lint from being implicitly active on nightly
rustdoc
to requiring a feature to activate, like other unstable lints.Uses the new tracking issue #101730