2021-08-29 02:51:18 -05:00
|
|
|
// Checks that private macros aren't documented by default. They
|
|
|
|
// should be still be documented in `--document-private-items` mode,
|
|
|
|
// but that's tested in `macro-document-private.rs`.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// This is a regression text for issue #88453.
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ !hasraw macro_private_not_documented/index.html 'a_macro'
|
|
|
|
//@ !has macro_private_not_documented/macro.a_macro.html
|
2021-08-29 02:51:18 -05:00
|
|
|
macro_rules! a_macro {
|
|
|
|
() => ()
|
|
|
|
}
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ !hasraw macro_private_not_documented/index.html 'another_macro'
|
|
|
|
//@ !has macro_private_not_documented/macro.another_macro.html
|
2021-08-29 02:51:18 -05:00
|
|
|
macro another_macro {
|
|
|
|
() => ()
|
|
|
|
}
|