os-rust/src/test/ui/resolve/resolve-conflict-import-vs-import.stderr

17 lines
568 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0252]: the name `transmute` is defined multiple times
2018-12-25 08:56:47 -07:00
--> $DIR/resolve-conflict-import-vs-import.rs:2:5
2018-08-08 14:28:26 +02:00
|
LL | use std::mem::transmute;
| ------------------- previous import of the value `transmute` here
LL | use std::mem::transmute;
| ----^^^^^^^^^^^^^^^^^^^-
| | |
| | `transmute` reimported here
| help: remove unnecessary import
2018-08-08 14:28:26 +02:00
|
= note: `transmute` must be defined only once in the value namespace of this module
error: aborting due to previous error
For more information about this error, try `rustc --explain E0252`.