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
544 B17 linesraw
1error[E0252]: the name `baz` is defined multiple times
2  --> $DIR/E0252.rs:4:5
3   |
4LL | use foo::baz;
5   |     -------- previous import of the type `baz` here
6LL | use bar::baz;
7   |     ^^^^^^^^ `baz` reimported here
8   |
9   = note: `baz` must be defined only once in the type namespace of this module
10help: you can use `as` to change the binding name of the import
11   |
12LL | use bar::baz as other_baz;
13   |     ^^^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0252`.