rust/tests/rustdoc/decl_macro_priv.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
418 B
Rust
Raw Normal View History

//@ 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() {}