-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
intra-doc links: crate::ptr on a re-export of core::slice is not resolved in alloc #76106
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateA-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateA-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It's something to do specifically with the re-export because using
ptrinstead ofcrate::ptrworks, possibly because it's available in bothalloc::sliceandcore::slice.I don't understand why this is failing :/ the error is being returned directly from
rustc_resolve:In fact if you look at the debug logging it says itself that it's looking at core:
parent DefId(1:6606 ~ core[c85e]::slice[0]). Not sure what's going wrong.It would be great to find an MCVE of this.
Originally posted by @jyn514 in #75932 (comment)