summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-78325-inconsistent-resolution.rs
blob: 919eca4f9bf6d7e96b70a9fd54cbae03ad0ba2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
macro_rules! define_other_core {
    ( ) => {
        extern crate std as core;
        //~^ ERROR macro-expanded `extern crate` items cannot shadow names passed with `--extern`
    };
}

fn main() {
    core::panic!();
}

define_other_core!();