-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Don't warn for missing_doc_examples
when item is #[doc(hidden)]
#76716
Don't warn for missing_doc_examples
when item is #[doc(hidden)]
#76716
Conversation
missing_doc_examples
when item is #[doc(hidden)]
I have a secondary concern too: it seems like a lot of code between this and |
This comment has been minimized.
This comment has been minimized.
@Dylan-DPC why did you mark this as waiting-on-team? |
I am the team maybe? XD |
This is pending on discussion between both of you and anyone else from the team :P |
Not that I'm aware of. |
☔ The latest upstream changes (presumably #82756) made this pull request unmergeable. Please resolve the merge conflicts. |
This makes
I do think the new behavior is better, but it also seems strange to have the two behave differently ... maybe we should also update @Manishearth @ollie27 what do you think? |
Oh wait I'm just dumb, that was warning that the crate root is missing docs, not that the item is missing docs. Adding crate-level docs fixes the issue:
@GuillaumeGomez r=me with the merge conflict fixed |
…inherits_doc_hidden
25ecc0a
to
1683cb1
Compare
@bors: r=jyn514 |
📌 Commit 1683cb1 has been approved by |
…c-hidden, r=jyn514 Don't warn for `missing_doc_examples` when item is #[doc(hidden)] r? ``@jyn514``
…c-hidden, r=jyn514 Don't warn for `missing_doc_examples` when item is #[doc(hidden)] r? ```@jyn514```
…laumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#76716 (Don't warn for `missing_doc_examples` when item is #[doc(hidden)]) - rust-lang#82088 (Shorten html::render) - rust-lang#82690 (Update rustdoc documentation) - rust-lang#82752 (Add a regression test for issue-81712) - rust-lang#82765 (Fix polymorphization ICE on associated types in trait decls using const generics in bounds) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…c-hidden, r=jyn514 Don't warn for `missing_doc_examples` when item is #[doc(hidden)] r? ````@jyn514````
r? @jyn514