]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-78325-inconsistent-resolution.rs
Auto merge of #106976 - tmiasko:borrowck-lazy-dominators, r=cjgillot
[rust.git] / tests / ui / macros / issue-78325-inconsistent-resolution.rs
1 macro_rules! define_other_core {
2     ( ) => {
3         extern crate std as core;
4         //~^ ERROR macro-expanded `extern crate` items cannot shadow names passed with `--extern`
5     };
6 }
7
8 fn main() {
9     core::panic!();
10 }
11
12 define_other_core!();