Skip to content

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Aug 30, 2020

Previously, only associated functions would be resolved. Fixes the issues in #75969 (comment).

I'm a little uncomfortable hard-coding the string constants, but it looks like that's how it's done elsewhere. I might make a follow-up PR at some point putting it in one place.

Not sure how to test associated types, since AFAIK there aren't any on primitives.

r? @Manishearth

@jyn514 jyn514 added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. C-bug Category: This is a bug. A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name labels Aug 30, 2020
@rust-highfive

This comment has been minimized.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 30, 2020
Previously, only associated functions would be resolved.
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 30, 2020

📌 Commit 1404784 has been approved by Manishearth

@bors bors 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 Aug 30, 2020
@bors
Copy link
Collaborator

bors commented Aug 30, 2020

⌛ Testing commit 1404784 with merge f6d910c...

@bors
Copy link
Collaborator

bors commented Aug 30, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: Manishearth
Pushing f6d910c to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 30, 2020
@bors bors merged commit f6d910c into rust-lang:master Aug 30, 2020
@jyn514 jyn514 deleted the prim-assoc-items branch August 30, 2020 11:57
@jyn514 jyn514 changed the title Fix intra-doc links for associated constants Fix intra-doc links for associated constants on primitives Aug 30, 2020
lopopolo added a commit to artichoke/artichoke that referenced this pull request Sep 2, 2020
- Primitive associated constants can now be resolved - rust-lang/rust#76093 -
  remove hard-coded links to `f64::NAN` in `spinoso-securerandom`.
- Fix unresolved link to `artichoke_backend::eval::Eval`. The trait
  definition has lived in `artichoke-core` for some time now.
@cuviper cuviper added this to the 1.48.0 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name C-bug Category: This is a bug. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant 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.

5 participants