]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-78325-inconsistent-resolution.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[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!();