2018-08-08 12:28:26 +00:00
|
|
|
error[E0259]: the name `core` is defined multiple times
|
2019-07-23 17:34:17 +00:00
|
|
|
--> $DIR/no-std-inject.rs:3:1
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | extern crate core;
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ `core` reimported here
|
|
|
|
|
|
|
|
|
= note: `core` must be defined only once in the type namespace of this module
|
2018-10-16 23:21:40 +00:00
|
|
|
help: you can use `as` to change the binding name of the import
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2025-02-20 23:05:38 +00:00
|
|
|
LL | extern crate core as other_core;
|
|
|
|
| +++++++++++++
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0259`.
|