-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
A-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 nameT-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.
Description
trait Foo {
/// This function generally does foo without side effects.
/// See [`SpecialFoo::foo()`] for an example.
fn foo();
}
struct SpecialFoo {}
impl Foo for SpecialFoo {
/// This is a good example of doing [`Foo::foo()`]
fn foo() {}
}There's no way to have the link SpecialFoo:foo() resolve in the rustdoc, as SpecialFoo does not contain this function. Unless there's a special syntax for referring to SpecialFoo's Foo impl that would allow this.
JeanMertz
Metadata
Metadata
Assignees
Labels
A-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 nameT-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.