2020-11-05 07:29:48 -06:00
|
|
|
error: macro-expanded `extern crate` items cannot shadow names passed with `--extern`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/crashes/ice-6255.rs:6:9
|
2020-11-05 07:29:48 -06:00
|
|
|
|
|
|
|
|
LL | extern crate std as core;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | define_other_core!();
|
2021-10-14 13:28:30 -05:00
|
|
|
| -------------------- in this macro invocation
|
2020-11-05 07:29:48 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `define_other_core` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-11-05 07:29:48 -06:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2020-11-05 07:29:48 -06:00
|
|
|
|