rust/tests/ui/hygiene/auxiliary/nested-dollar-crate.rs

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

15 lines
239 B
Rust
Raw Normal View History

pub const IN_DEF_CRATE: &str = "In def crate!";
macro_rules! make_it {
() => {
#[macro_export]
macro_rules! inner {
() => {
$crate::IN_DEF_CRATE
}
}
}
}
make_it!();