diff options
Diffstat (limited to 'tests/rustdoc/intra-doc/auxiliary/extern-inherent-impl-dep.rs')
-rw-r--r-- | tests/rustdoc/intra-doc/auxiliary/extern-inherent-impl-dep.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc/intra-doc/auxiliary/extern-inherent-impl-dep.rs b/tests/rustdoc/intra-doc/auxiliary/extern-inherent-impl-dep.rs new file mode 100644 index 000000000..ee4138b68 --- /dev/null +++ b/tests/rustdoc/intra-doc/auxiliary/extern-inherent-impl-dep.rs @@ -0,0 +1,11 @@ +#[derive(Clone)] +pub struct PublicStruct; + +mod inner { + use super::PublicStruct; + + impl PublicStruct { + /// [PublicStruct::clone] + pub fn method() {} + } +} |