]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/macro-private-not-documented.rs
Auto merge of #106959 - tmiasko:opt-funclets, r=davidtwco
[rust.git] / tests / rustdoc / macro-private-not-documented.rs
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 // @!hasraw 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 // @!hasraw macro_private_not_documented/index.html 'another_macro'
16 // @!has macro_private_not_documented/macro.another_macro.html
17 macro another_macro {
18     () => ()
19 }