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.
|
|
|
|
//
|
2024-02-22 06:10:29 -06:00
|
|
|
//@ compile-flags: --document-private-items
|
2021-08-06 00:09:25 -05:00
|
|
|
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
|
|
|
|
|
|
|
|
// @has macro_document_private/macro.some_macro.html
|
|
|
|
macro some_macro {
|
|
|
|
(a: tt) => {}
|
|
|
|
}
|
|
|
|
|
|
|
|
// @has macro_document_private/macro.another_macro.html
|
|
|
|
macro_rules! another_macro {
|
|
|
|
(a: tt) => {}
|
|
|
|
}
|