mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
14 lines
267 B
Rust
14 lines
267 B
Rust
// 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;
|
|
}
|