mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
410 B
Plaintext
14 lines
410 B
Plaintext
error: macro-expanded `extern crate` items cannot shadow names passed with `--extern`
|
|
--> $DIR/issue-109148.rs:6:9
|
|
|
|
|
LL | extern crate core as std;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
LL | m!();
|
|
| ---- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 1 previous error
|
|
|