summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/intra-doc/issue-66159.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/intra-doc/issue-66159.rs')
-rw-r--r--src/test/rustdoc/intra-doc/issue-66159.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/rustdoc/intra-doc/issue-66159.rs b/src/test/rustdoc/intra-doc/issue-66159.rs
new file mode 100644
index 000000000..56742b397
--- /dev/null
+++ b/src/test/rustdoc/intra-doc/issue-66159.rs
@@ -0,0 +1,10 @@
+// aux-crate:priv:pub_struct=pub-struct.rs
+// compile-flags:-Z unstable-options
+
+// The issue was an ICE which meant that we never actually generated the docs
+// so if we have generated the docs, we're okay.
+// Since we don't generate the docs for the auxiliary files, we can't actually
+// verify that the struct is linked correctly.
+
+// @has issue_66159/index.html
+//! [pub_struct::SomeStruct]