We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8c9b0 commit 2b17f02Copy full SHA for 2b17f02
src/test/rustdoc/intra-doc-crate/auxiliary/self.rs
@@ -0,0 +1,7 @@
1
+#![crate_name = "cross_crate_self"]
2
+pub struct S;
3
+
4
+impl S {
5
+ /// Link to [Self::f]
6
+ pub fn f() {}
7
+}
src/test/rustdoc/intra-doc-crate/self.rs
@@ -0,0 +1,6 @@
+// aux-build:self.rs
+extern crate cross_crate_self;
+// @has self/struct.S.html '//a[@href="../self/struct.S.html#method.f"]' "Self::f"
+pub use cross_crate_self::S;
0 commit comments