mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-25 20:43:18 +00:00
13 lines
466 B
Text
13 lines
466 B
Text
error: macro-expanded `extern crate` items cannot shadow names passed with `--extern`
|
|
--> tests/ui/crashes/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
|
|
|