mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-18 02:38:28 +00:00
4698b366c4
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
13 lines
453 B
Text
13 lines
453 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 previous error
|
|
|