fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
412 B13 linesraw
1error[E0252]: the name `A` is defined multiple times
2  --> $DIR/import-twice.rs:6:14
3   |
4LL | use foo::{A, A};
5   |           -  ^ `A` reimported here
6   |           |
7   |           previous import of the type `A` here
8   |
9   = note: `A` must be defined only once in the type namespace of this module
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0252`.