We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ee6d0b commit 6aacbd8Copy full SHA for 6aacbd8
src/test/rustdoc/macro-private-not-documented.rs
@@ -0,0 +1,19 @@
1
+// Checks that private macros aren't documented by default. They
2
+// should be still be documented in `--document-private-items` mode,
3
+// but that's tested in `macro-document-private.rs`.
4
+//
5
6
+// This is a regression text for issue #88453.
7
+#![feature(decl_macro)]
8
+
9
+// @!has macro_private_not_documented/index.html 'a_macro'
10
+// @!has macro_private_not_documented/macro.a_macro.html
11
+macro_rules! a_macro {
12
+ () => ()
13
+}
14
15
+// @!has macro_private_not_documented/index.html 'another_macro'
16
+// @!has macro_private_not_documented/macro.another_macro.html
17
+macro another_macro {
18
19
0 commit comments