-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Fix intra-doc links on pub re-exports #76082
Conversation
This removes the incorrect error, but doesn't show the documentation anywhere.
This comment has been minimized.
This comment has been minimized.
The current code looks good though. Ping me once it's fixed. ;) |
@GuillaumeGomez the tests are failing because this documentation is never displayed. It seems weird that it's silently ignored, I can change the test but are you sure this should be merged as is? |
If the documentation isn't shown, it's invalid so please this issue first. ;) |
We discussed this on Discord: the documentation is never shown for pub re-exports. That's not introduced by this PR, that's an existing behavior. So it's fine for now to just fix the bugs in intra-doc links, but we should have a conversation about whether we want to show docs on re-exports. |
I think I can replicate the same bug with |
It's not possible to write |
|
7beb59d
to
c204194
Compare
…r around documenting re-exports
c204194
to
e885f00
Compare
Now this actually tests the links are generated correctly
Updated! |
ping @GuillaumeGomez - is this waiting on anything? |
Nope, all good! @bors: r=ollie27,GuillaumeGomez |
📌 Commit d715015 has been approved by |
⌛ Testing commit d715015 with merge 22967492ab8fd2d94ffafc1651b6b551ca2edaaa... |
💔 Test failed - checks-actions |
@bors retry
|
⌛ Testing commit d715015 with merge c137084a9ed560b4e783ab4b0e8b2d2578821dbd... |
💥 Test timed out |
@bors retry 5 hour timeout on |
…uillaumeGomez Fix intra-doc links on pub re-exports Partial fix for rust-lang#76073 - This removes the incorrect error, but doesn't show the documentation anywhere. r? @GuillaumeGomez
…uillaumeGomez Fix intra-doc links on pub re-exports Partial fix for rust-lang#76073 - This removes the incorrect error, but doesn't show the documentation anywhere. r? @GuillaumeGomez
…uillaumeGomez Fix intra-doc links on pub re-exports Partial fix for rust-lang#76073 - This removes the incorrect error, but doesn't show the documentation anywhere. r? @GuillaumeGomez
Rollup of 11 pull requests Successful merges: - rust-lang#75695 (Add a regression test for issue-72793) - rust-lang#75741 (Refactor byteorder to std in rustc_middle) - rust-lang#75954 (Unstable Book: add links to tracking issues for FFI features) - rust-lang#75994 (`impl Rc::new_cyclic`) - rust-lang#76060 (Link vec doc to & reference) - rust-lang#76078 (Remove disambiguators from intra doc link text) - rust-lang#76082 (Fix intra-doc links on pub re-exports) - rust-lang#76254 (Fold length constant in Rvalue::Repeat) - rust-lang#76258 (x.py check checks tests/examples/benches) - rust-lang#76263 (inliner: Check for codegen fn attributes compatibility) - rust-lang#76285 (Move jointness censoring to proc_macro) Failed merges: r? @ghost
Partial fix for #76073 - This removes the incorrect error, but doesn't show the documentation anywhere.
r? @GuillaumeGomez