mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
454 B
Text
13 lines
454 B
Text
error: macro-expanded `extern crate` items cannot shadow names passed with `--extern`
|
|
--> $DIR/ice-6255.rs:6:9
|
|
|
|
|
LL | extern crate std as core;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
LL | define_other_core!();
|
|
| -------------------- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `define_other_core` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 1 previous error
|
|
|