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 a5e0ca9 commit 449cc65Copy full SHA for 449cc65
tests/rustdoc-json/impls/issue-112852-dangling-trait-impl-id.rs
@@ -0,0 +1,14 @@
1
+#![feature(no_core)]
2
+#![no_core]
3
+
4
+// @!has "$.index[*][?(@.name == 'HiddenPubStruct')]"
5
+// @!has "$.index[*][?(@.inner.impl)]"
6
+// @has "$.index[*][?(@.name=='PubTrait')]"
7
+pub trait PubTrait {}
8
9
+#[doc(hidden)]
10
+pub mod hidden {
11
+ pub struct HiddenPubStruct;
12
13
+ impl crate::PubTrait for HiddenPubStruct {}
14
+}
0 commit comments