summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/auxiliary/nested-dollar-crate.rs
blob: e5caa0f9cf80938dbfe59648599727840012a668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub const IN_DEF_CRATE: &str = "In def crate!";

macro_rules! make_it {
    () => {
        #[macro_export]
        macro_rules! inner {
            () => {
                $crate::IN_DEF_CRATE
            }
        }
    }
}

make_it!();