summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-15318-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-15318-3.rs')
-rw-r--r--tests/rustdoc/issue-15318-3.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-15318-3.rs b/tests/rustdoc/issue-15318-3.rs
new file mode 100644
index 000000000..2fadc26b0
--- /dev/null
+++ b/tests/rustdoc/issue-15318-3.rs
@@ -0,0 +1,7 @@
+#![feature(rustdoc_internals)]
+
+// @has issue_15318_3/primitive.pointer.html
+
+/// dox
+#[doc(primitive = "pointer")]
+pub mod ptr {}