2021-08-06 00:09:25 -05:00
|
|
|
// Checks that private macros are documented when `--document-private-items`
|
|
|
|
// is present.
|
|
|
|
//
|
|
|
|
// This is a regression test for issue #73754.
|
|
|
|
//
|
|
|
|
//@ compile-flags: --document-private-items
|
|
|
|
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has macro_document_private/macro.some_macro.html
|
2021-08-06 00:09:25 -05:00
|
|
|
macro some_macro {
|
|
|
|
(a: tt) => {}
|
|
|
|
}
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has macro_document_private/macro.another_macro.html
|
2021-08-06 00:09:25 -05:00
|
|
|
macro_rules! another_macro {
|
|
|
|
(a: tt) => {}
|
|
|
|
}
|