1 error[E0252]: the name `A` is defined multiple times
2 --> $DIR/issue-45829.rs:6:14
4 LL | use foo::{A, B as A};
5 | - ^^^^^^ `A` reimported here
7 | previous import of the type `A` here
9 = note: `A` must be defined only once in the type namespace of this module
10 help: you can use `as` to change the binding name of the import
12 LL | use foo::{A, B as OtherA};
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0252`.