-
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
rustdoc: inline all the impls #33133
Conversation
I'm curious, is this done with a separate check somewhere in rustdoc? |
That was introduced in #33002. AFAIU the edit: What I meant with
was that the impl trait and type are checked, nothing more. |
@bors: r+ 8c302a00223abb46a2f42e5331fc27d1b1d35e1a Nice! |
⌛ Testing commit 8c302a0 with merge 326dd17... |
💔 Test failed - auto-win-gnu-32-opt-rustbuild |
This used to be done to avoid inlining impls referencing private items, but is now unnecessary since we actually check that impls do not reference non-doc-reachable items.
8c302a0
to
01f7c74
Compare
(updated) |
Looks like there's still an error on Travis?
|
01f7c74
to
3c3ee35
Compare
An item is inlined and recorded as inlined even if it is `doc(hidden)`, leading to unchecked external links.
3c3ee35
to
6603c95
Compare
Sorry, I guess checking local item links is a bit of an issue, and unnecessary. Because of that I've changed to only checking extern items. |
⌛ Testing commit 6603c95 with merge a5b5cab... |
💔 Test failed - auto-win-msvc-32-opt |
@bors: retry On Mon, Apr 25, 2016 at 4:32 AM, bors notifications@github.com wrote:
|
…ichton rustdoc: inline all the impls This used to be done to avoid inlining impls referencing private items, but is now unnecessary since we actually check that impls do not reference non-doc-reachable items. fixes rust-lang#32881 fixes rust-lang#33025 fixes rust-lang#33113 r? @alexcrichton
This PR should be backported into beta, to fix this regression: |
There was an issue (rust-lang#33025) which caused these tests to not work. The issue has since been fixed in rust-lang#33133, and so we can now include them.
This used to be done to avoid inlining impls referencing private items, but is now unnecessary since we actually check that impls do not reference non-doc-reachable items.
fixes #32881
fixes #33025
fixes #33113
r? @alexcrichton