summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/issue-15318-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/issue-15318-3.rs')
-rw-r--r--src/test/rustdoc/issue-15318-3.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-15318-3.rs b/src/test/rustdoc/issue-15318-3.rs
new file mode 100644
index 000000000..2fadc26b0
--- /dev/null
+++ b/src/test/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 {}