Skip to content

Commit 6aacbd8

Browse files
Add regression test
1 parent 3ee6d0b commit 6aacbd8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)