]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/resolve-conflict-import-vs-import.stderr
80ccb9aa2b3c32235bb1f312d1c3432aad21f21e
[rustc.git] / src / test / ui / resolve / resolve-conflict-import-vs-import.stderr
1 error[E0252]: the name `transmute` is defined multiple times
2 --> $DIR/resolve-conflict-import-vs-import.rs:12:5
3 |
4 LL | use std::mem::transmute;
5 | ------------------- previous import of the value `transmute` here
6 LL | use std::mem::transmute;
7 | ^^^^^^^^^^^^^^^^^^^ `transmute` reimported here
8 |
9 = note: `transmute` must be defined only once in the value namespace of this module
10 help: You can use `as` to change the binding name of the import
11 |
12 LL | use std::mem::transmute as other_transmute;
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0252`.