-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move to doc links inside the prelude #75368
Move to doc links inside the prelude #75368
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup Good catch with the |
📌 Commit 8ff768e21d93bc1cf78e89a4925a4f28ec314cfa has been approved by |
It's not my achievement, |
It fails on the |
@bors r- |
@poliorcetics try rebasing over master? I might have broken something in #75079 or #75318. |
Rebasing did nothing (my branch is an hour old at most at this point) and rebuilding from scratch still worked when doing |
Not sure then, I'll have to debug it. I wish we had #75305 :( |
Exact error:
I see a |
8ff768e
to
a6e492b
Compare
Looks like this PR is already in good hands :) r? @jyn514 |
CI is documenting using stage 0, which doesn't have the latest fixes to intra-doc links. Not sure what this exact failure is from, but this will break anyway when we start linking to associated items (#74489). @Mark-Simulacrum do you know why mingw-check uses |
This would probably work if it went through a full bors build, but then the whole compiler will have broken mingw-check builds on every PR, so I don't want to do that unilaterally. |
This was added in 1f7c896. @ecstatic-morse, what was the rationale for using --stage 0 instead of --stage 1? |
The PR that made the change was #71649 if that helps. |
--stage 0 is intentionally checked (other stages are checked already on other builders) because we want to ensure that docs are buildable and viewable locally; this means that docs contributors don't need to build anything locally. In the future I'd like for that to not be necessary, instead that we provide an easy way for a "recent master build" or perhaps nightly to work, but as of now that's not really feasible. |
I moved the @jyn514 do you think making a note in the tracking issue is possible (both for the affected files as they are found and a more generic one to warn people) ? |
Hmm ... if the intra-doc link breaks it will still be viewable, there will just be some broken links. What do you think about having Merging this PR since it has good changes :) but I think it's worth continuing the discussion. @bors r+ rollup |
📌 Commit 3ff06a9 has been approved by |
I would prefer to avoid that - we only have a few weeks to go - but if it is truly necessary, then it should go into bootstrap/builder.rs along with other warnings. I can review such a PR. |
Well it's not certain that #74489 will get merged before the beta cutoff ... but other issues seems rare enough that we can delay the discussion until then, I agree if it's only 1 or 2 weeks it's not worth special casing and we can just do it after the new release. |
Rollup of 9 pull requests Successful merges: - rust-lang#74521 (older toolchains not valid anymore) - rust-lang#74960 (Fix regionck failure when converting Index to IndexMut) - rust-lang#75234 (Update asm! documentation in unstable book) - rust-lang#75368 (Move to doc links inside the prelude) - rust-lang#75371 (Move to doc links inside std/time.rs) - rust-lang#75394 (Add a function to `TyCtxt` for computing an `Allocation` for a `static` item's initializer) - rust-lang#75395 (Switch to intra-doc links in library/std/src/os/*/fs.rs) - rust-lang#75422 (Accept more safety comments) - rust-lang#75424 (fix wrong word in documentation) Failed merges: r? @ghost
Helps with #75080.
@rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc