Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
rustdoc
/
auxiliary
/
macro_pub_in_module.rs
blob: 137b12386007cb6a24e8c319d41d29ef5f8834ad [
file
] [
log
] [
blame
]
// edition:2018
#![
feature
(
decl_macro
)]
#![
crate_name
=
"external_crate"
]
pub
mod
some_module
{
/* == Make sure the logic is not affected by a re-export == */
mod
private
{
pub
macro external_macro
()
{}
}
pub
use
private
::
external_macro
;
}