With intra-doc-links, the following works:
/// [Self::bar]
pub struct Foo;
impl Foo {
/// [Self::bar]
fn bar() {}
}
but this does not:
/// [bar]
pub struct Foo;
impl Foo {
/// [bar]
fn bar() {}
}
For structs and impls we should try resolving things against Self anyway
With intra-doc-links, the following works:
but this does not:
For structs and impls we should try resolving things against
Selfanyway