fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
663 B18 linesraw
1error[E0255]: the name `transmute` is defined multiple times
2  --> $DIR/resolve-conflict-item-vs-import.rs:3:1
3   |
4LL | use std::mem::transmute;
5   |     ------------------- previous import of the value `transmute` here
6LL | 
7LL | fn transmute() {}
8   | ^^^^^^^^^^^^^^ `transmute` redefined here
9   |
10   = note: `transmute` must be defined only once in the value namespace of this module
11help: you can use `as` to change the binding name of the import
12   |
13LL | use std::mem::transmute as other_transmute;
14   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0255`.