summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/cross-crate/basic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/intra-doc/cross-crate/basic.rs')
-rw-r--r--tests/rustdoc/intra-doc/cross-crate/basic.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc/intra-doc/cross-crate/basic.rs b/tests/rustdoc/intra-doc/cross-crate/basic.rs
new file mode 100644
index 000000000..ad7454918
--- /dev/null
+++ b/tests/rustdoc/intra-doc/cross-crate/basic.rs
@@ -0,0 +1,9 @@
+// aux-build:intra-doc-basic.rs
+// build-aux-docs
+#![deny(rustdoc::broken_intra_doc_links)]
+
+// from https://github.com/rust-lang/rust/issues/65983
+extern crate a;
+
+// @has 'basic/struct.Bar.html' '//a[@href="../a/struct.Foo.html"]' 'Foo'
+pub use a::Bar;