Skip to content

Allow using core:: in intra-doc links within core itself - #84755

Merged
bors merged 1 commit into
rust-lang:masterfrom
jyn514:core-links
May 7, 2021
Merged

Allow using core:: in intra-doc links within core itself#84755
bors merged 1 commit into
rust-lang:masterfrom
jyn514:core-links

Conversation

@jyn514

Copy link
Copy Markdown
Member

I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.

Helps with #73445. Doesn't fix it completely since extern crate self as std; in std still gives strange errors.

I came up with this idea ages ago, but rustdoc used to ICE on it. Now it
doesn't.
@jyn514jyn514 added T-libs-api [DEPRECATED; DO NOT USE] A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name labels Apr 30, 2021
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @kennytm

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 30, 2021
@kennytm

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented May 5, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 4a63e1e has been approved by kennytm

@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 May 5, 2021
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 5, 2021
Allow using `core::` in intra-doc links within core itself
I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.
Helps with rust-lang#73445. Doesn't fix it completely since `extern crate self as std;` in std still gives strange errors.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 5, 2021
Allow using `core::` in intra-doc links within core itself
I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.
Helps with rust-lang#73445. Doesn't fix it completely since `extern crate self as std;` in std still gives strange errors.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 5, 2021
Allow using `core::` in intra-doc links within core itself
I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.
Helps with rust-lang#73445. Doesn't fix it completely since `extern crate self as std;` in std still gives strange errors.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 6, 2021
Allow using `core::` in intra-doc links within core itself
I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.
Helps with rust-lang#73445. Doesn't fix it completely since `extern crate self as std;` in std still gives strange errors.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 6, 2021
Allow using `core::` in intra-doc links within core itself
I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.
Helps with rust-lang#73445. Doesn't fix it completely since `extern crate self as std;` in std still gives strange errors.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 6, 2021
Allow using `core::` in intra-doc links within core itself
I came up with this idea ages ago, but rustdoc used to ICE on it. Now it doesn't.
Helps with rust-lang#73445. Doesn't fix it completely since `extern crate self as std;` in std still gives strange errors.
This was referenced May 6, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request May 7, 2021
Rollup of 11 pull requests
Successful merges:
- rust-lang#84409 (Ensure TLS destructors run before thread joins in SGX)
- rust-lang#84500 (Add --run flag to compiletest)
- rust-lang#84728 (Add test for suggestion to borrow unsized function parameters)
- rust-lang#84734 (Add `needs-unwind` and beginning of support for testing `panic=abort` std to compiletest)
- rust-lang#84755 (Allow using `core::` in intra-doc links within core itself)
- rust-lang#84871 (Disallows `#![feature(no_coverage)]` on stable and beta (using standard crate-level gating))
- rust-lang#84872 (Wire up tidy dependency checks for cg_clif)
- rust-lang#84896 (Handle incorrect placement of parentheses in trait bounds more gracefully)
- rust-lang#84905 (CTFE engine: rename copy → copy_intrinsic, move to intrinsics.rs)
- rust-lang#84953 (Remove unneeded call to with_default_session_globals in rustdoc highlight)
- rust-lang#84987 (small nits)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 7835c78 into rust-lang:masterMay 7, 2021
@rustbotrustbot added this to the 1.54.0 milestone May 7, 2021
@jyn514
jyn514 deleted the core-links branch May 7, 2021 13:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-libs-api[DEPRECATED; DO NOT USE]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@jyn514@rust-highfive@kennytm@bors@rustbot