summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/cross-crate/crate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/intra-doc/cross-crate/crate.rs')
-rw-r--r--tests/rustdoc/intra-doc/cross-crate/crate.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc/intra-doc/cross-crate/crate.rs b/tests/rustdoc/intra-doc/cross-crate/crate.rs
new file mode 100644
index 000000000..edf544708
--- /dev/null
+++ b/tests/rustdoc/intra-doc/cross-crate/crate.rs
@@ -0,0 +1,6 @@
+// aux-build:intra-link-cross-crate-crate.rs
+// build-aux-docs
+#![crate_name = "outer"]
+extern crate inner;
+// @has outer/fn.f.html '//a[@href="../inner/fn.g.html"]' "crate::g"
+pub use inner::f;