summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-95633.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-95633.rs')
-rw-r--r--tests/rustdoc/issue-95633.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-95633.rs b/tests/rustdoc/issue-95633.rs
new file mode 100644
index 000000000..a71d0a037
--- /dev/null
+++ b/tests/rustdoc/issue-95633.rs
@@ -0,0 +1,7 @@
+// compile-flags: --document-private-items
+
+// This ensures that no ICE is triggered when rustdoc is run on this code.
+
+mod stdlib {
+ pub (crate) use std::i8;
+}