2018-02-08 03:35:35 +00:00
|
|
|
error[E0259]: the name `alloc` is defined multiple times
|
|
|
|
--> $DIR/E0259.rs:16:1
|
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | extern crate alloc;
|
2018-02-08 03:35:35 +00:00
|
|
|
| ------------------- previous import of the extern crate `alloc` here
|
2018-02-24 23:01:39 +00:00
|
|
|
LL |
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | extern crate libc as alloc;
|
2018-02-08 03:35:35 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
| |
|
|
|
|
| `alloc` reimported here
|
|
|
|
| You can use `as` to change the binding name of the import
|
|
|
|
|
|
|
|
|
= note: `alloc` must be defined only once in the type namespace of this module
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 20:40:25 +00:00
|
|
|
If you want more information on this error, try using "rustc --explain E0259"
|