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 689e360 commit 9704859Copy full SHA for 9704859
src/test/rustdoc-ui/issue-74134.rs
@@ -24,3 +24,18 @@ pub struct Public {
24
/// [`PrivateType`]
25
private_item: u32,
26
}
27
+
28
+// The following cases are identical to the ones above, except that they are in a private
29
+// module. Thus they all fall into cases 3 and 4 and should not produce a warning.
30
31
+mod private {
32
+ pub struct Public {
33
+ /// [`super::PublicType`]
34
+ /// [`super::PrivateType`]
35
+ pub public_item: u32,
36
37
38
39
+ private_item: u32,
40
+ }
41
+}
0 commit comments