mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
15 lines
239 B
Rust
15 lines
239 B
Rust
pub const IN_DEF_CRATE: &str = "In def crate!";
|
|
|
|
macro_rules! make_it {
|
|
() => {
|
|
#[macro_export]
|
|
macro_rules! inner {
|
|
() => {
|
|
$crate::IN_DEF_CRATE
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
make_it!();
|