Skip to content

Don't link to nightly primitives on stable channel - #77827

Merged
bors merged 1 commit into
rust-lang:masterfrom
jyn514:stable-primitives
Oct 16, 2020
Merged

Don't link to nightly primitives on stable channel#77827
bors merged 1 commit into
rust-lang:masterfrom
jyn514:stable-primitives

Conversation

@jyn514

Copy link
Copy Markdown
Member

I am not sure how to test this.

Closes#77775

r? @GuillaumeGomez

@jyn514jyn514 added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Oct 11, 2020
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 11, 2020
@jyn514

Copy link
Copy Markdown
MemberAuthor

Also, this will still show nightly primitives if you use RUSTC_BOOTSTRAP, but people shouldn't do that anyway, and for documenting the compiler I think we do actually want that behavior.

@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks! I remember having to do the same thing a while ago, so I guess it got removed at some point. Well, it's good for it to be back!

@bors: r+ rollup

@bors

bors commented Oct 16, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 54bf8a6 has been approved by GuillaumeGomez

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 16, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Oct 16, 2020
…meGomez
Don't link to nightly primitives on stable channel
I am not sure how to test this.
Closesrust-lang#77775
r? @GuillaumeGomez
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Oct 16, 2020
…meGomez
Don't link to nightly primitives on stable channel
I am not sure how to test this.
Closesrust-lang#77775
r? @GuillaumeGomez
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Oct 16, 2020
…meGomez
Don't link to nightly primitives on stable channel
I am not sure how to test this.
Closesrust-lang#77775
r? @GuillaumeGomez
@JohnTitorJohnTitor mentioned this pull request Oct 16, 2020
@JohnTitorJohnTitor mentioned this pull request Oct 16, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 16, 2020
Rollup of 10 pull requests
Successful merges:
- rust-lang#75209 (Suggest imports of unresolved macros)
- rust-lang#77547 (stabilize union with 'ManuallyDrop' fields and 'impl Drop for Union')
- rust-lang#77827 (Don't link to nightly primitives on stable channel)
- rust-lang#77855 (resolve: further improvements to "try using the enum's variant" diagnostic)
- rust-lang#77900 (Use fdatasync for File::sync_data on more OSes)
- rust-lang#77925 (Suggest minimal subset features in `incomplete_features` lint)
- rust-lang#77971 (Deny broken intra-doc links in linkchecker)
- rust-lang#77991 (Bump backtrace-rs)
- rust-lang#77992 (instrument-coverage: try our best to not ICE)
- rust-lang#78013 (Fix sidebar scroll on mobile devices)
Failed merges:
r? `@ghost`
@bors
bors merged commit 8c4d855 into rust-lang:masterOct 16, 2020
@rustbotrustbot added this to the 1.49.0 milestone Oct 16, 2020
@jyn514
jyn514 deleted the stable-primitives branch November 7, 2020 18:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustdoc links to primitives hardcode /nightly

5 participants

@jyn514@GuillaumeGomez@bors@rust-highfive@rustbot