-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
#[doc(inline)] sym_generated #80523
#[doc(inline)] sym_generated #80523
Conversation
Can you show a screenshot of what the new docs look like? The fastest way I know is to rebase over #79540 and then |
Also just for the record: I expect this is a bug in rustdoc related to #77862 somehow, but this fix seems fine in the meantime. |
@LeSeulArtichaut Ping from triage! What's the current status of this? |
Hmm, it looks like #77862 did not fix this: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/symbol/sym/index.html |
Should I also leave a FIXME referencing the issue? |
Sure, sounds good to me, thanks :) |
FWIW, the module |
Is this still waiting on the author? |
Yes, @LeSeulArtichaut can you please also add #[doc(inline)] to |
If you have time to open an issue that would be helpful too, but I won't block on that. |
|
Well here's the issue:
Can you change the proc-macro to remove doc(hidden) instead? cc #81980. |
For both |
Oh hmm, now I'm confused again - @bors delegate=LeSeulArtichaut |
✌️ @LeSeulArtichaut can now approve this pull request |
With exams coming up, I won't have time to investigate this in the near future. I think this should be merged so the documentation can be improved immediately. @bors r=jyn514 rollup |
📌 Commit 240907b has been approved by |
Rollup of 11 pull requests Successful merges: - rust-lang#80523 (#[doc(inline)] sym_generated) - rust-lang#80920 (Visit more targets when validating attributes) - rust-lang#81720 (Updated smallvec version due to RUSTSEC-2021-0003) - rust-lang#81891 ([rustdoc-json] Make `header` a vec of modifiers, and FunctionPointer consistent) - rust-lang#81912 (Implement the precise analysis pass for lint `disjoint_capture_drop_reorder`) - rust-lang#81914 (Fixing bad suggestion for `_` in `const` type when a function rust-lang#81885) - rust-lang#81919 (BTreeMap: fix internal comments) - rust-lang#81927 (Add a regression test for rust-lang#32498) - rust-lang#81965 (Fix MIR pretty printer for non-local DefIds) - rust-lang#82029 (Use debug log level for developer oriented logs) - rust-lang#82056 (fix ice (rust-lang#82032)) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Manually doc-inlines
rustc_span::sym_generated
intosym
.Previously the docs would not get inlined, causing the symbols to be undocumented as
sym_generated
is private.r? @jyn514