We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d90b1 commit 7cdf126Copy full SHA for 7cdf126
src/test/rustdoc-json/primitive_overloading.rs
@@ -0,0 +1,17 @@
1
+// compile-flags: --document-private-items
2
+
3
+// Regression test for <https://github.com/rust-lang/rust/issues/98006>.
4
5
+#![feature(rustdoc_internals)]
6
+#![feature(no_core)]
7
8
+#![no_core]
9
10
+// @has primitive_overloading.json
11
+// @has - "$.index[*][?(@.name=='usize')]"
12
+// @has - "$.index[*][?(@.name=='prim')]"
13
14
+#[doc(primitive = "usize")]
15
+/// This is the built-in type `usize`.
16
+mod prim {
17
+}
0 commit comments