Uh oh!
There was an error while loading. Please reload this page.
Ignore rustc_private items from std docs - #76571
Conversation
rust-highfive
commented
Sep 10, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
Uh oh!
There was an error while loading. Please reload this page.
jyn514
left a comment
There was a problem hiding this comment.
Thanks so much for working on this! Just a few nits.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
de818c4 to
43cce69Compare7679606 to
1444a89CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Yeah, this comment seems fine. nit: this could be else if so you don't need the early return, but won't block on that
Mark-Simulacrum
commented
Sep 10, 2020
r? @jyn514 |
1444a89 to
ccd7611Comparetesuji
commented
Sep 11, 2020
I removed all the added doc to make this patch smaller to be able to backport. |
Oh, I don't think there's need for that, the comments won't hurt anything. It's logic changes I'm worried about backporting. @bors r+ on getting this into nightly. Now about getting this into beta: @rust-lang/rustdoc I see three options:
Personally I'm in favor of 3, but I'm willing to be convinced by 2. What do you think? |
bors
commented
Sep 11, 2020
📌 Commit ccd76110bfcd0339d70f554f5901443dd551fdbf has been approved by |
cc also @alexcrichton who wrote #73771 |
@bors r- CI is failing, but LGTM when fixed, maybe add back the comments while you're at it |
ccd7611 to
c3d048aCompareFixed the tidy error,
I will add them back in other cleanup PRs. @rustbot modify labels: -S-waiting-on-author +S-waiting-on-review |
Yeah, I'm sorry. But GitHub could improve their compare page. @@ src/tools/linkchecker/main.rs: fn is_exception(file: &Path, link: &str) -> bool
+ // calculated in `check` function is outside `build/<triple>/doc` dir.
+ // So the `strip_prefix` method just returns the old absolute broken path.
+ if file.ends_with("std/primitive.slice.html") {
-+ if link.ends_with("std/primitive.slice.html") {++ if link.ends_with("primitive.slice.html") {
+ return true;
+ }
+ }
I simply removed the "std/" prefix, cause windows path (in this case has type lossy &str) usually has |
jyn514
commented
Sep 13, 2020
Yeah, I've suggested this before (isaacs/github#1834) but it was ignored. Ok, the change looks fine. @bors r+ |
bors
commented
Sep 13, 2020
📌 Commit c743fc4 has been approved by |
Yeah, that's sad. But I think running range-diff still requires more calculation power than just normal diff. |
bors
commented
Sep 14, 2020
bors
commented
Sep 14, 2020
☀️ Test successful - checks-actions, checks-azure |
tesuji
commented
Sep 14, 2020
Finally! 🎉 |
jyn514
commented
Sep 14, 2020
@lzutao to backport this to beta, make a PR with the same commits, but against the |
jyn514
commented
Sep 14, 2020
@rust-lang/rustdoc this is waiting on a decision about backporting: #76571 (comment) |
This comment has been minimized.
This comment has been minimized.
GuillaumeGomez
commented
Sep 14, 2020
Is there any reason why we shouldn't? If not I guess it's fine to approve the backport. |
spastorino
commented
Sep 17, 2020
…ulacrum [beta] backports * Ignore rustc_private items from std docs rust-lang#76571 * Fix HashMap visualizers in Visual Studio (Code) rust-lang#76389 * Account for version number in NtIdent hack rust-lang#76331 * Account for async functions when suggesting new named lifetime rust-lang#75867 * Fix loading pretty-printers in rust-lldb script rust-lang#76015 This also bumps to the released stable compiler.
Add some docs to rustdoc::clean::inline and def_id functions Split from rust-lang#76571 .
By ignoring rustc_private items for non local impl block,
this may fix#74672 and fix#75588 .
This might suppress #76529 if it is simple enough for backport.