]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-78325-inconsistent-resolution.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / 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!();