mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
15 lines
418 B
Rust
15 lines
418 B
Rust
//@ compile-flags: --document-private-items
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
//@ has decl_macro_priv/macro.crate_macro.html //pre 'pub(crate) macro crate_macro() {'
|
|
//@ has - //pre '...'
|
|
//@ has - //pre '}'
|
|
pub(crate) macro crate_macro() {}
|
|
|
|
//@ has decl_macro_priv/macro.priv_macro.html //pre 'macro priv_macro() {'
|
|
//@ !has - //pre 'pub macro priv_macro() {'
|
|
//@ has - //pre '...'
|
|
//@ has - //pre '}'
|
|
macro priv_macro() {}
|