]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-78325-inconsistent-resolution.stderr
Rollup merge of #106962 - compiler-errors:use-sugg-span, r=oli-obk
[rust.git] / tests / ui / macros / issue-78325-inconsistent-resolution.stderr
1 error: macro-expanded `extern crate` items cannot shadow names passed with `--extern`
2   --> $DIR/issue-78325-inconsistent-resolution.rs:3:9
3    |
4 LL |         extern crate std as core;
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
6 ...
7 LL | define_other_core!();
8    | -------------------- in this macro invocation
9    |
10    = note: this error originates in the macro `define_other_core` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: aborting due to previous error
13