2018-10-17 01:09:43 +02:00
|
|
|
error[E0252]: the name `A` is defined multiple times
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-45829.rs:6:14
|
2018-10-17 01:09:43 +02:00
|
|
|
|
|
|
|
|
LL | use foo::{A, B as A};
|
|
|
|
| - ^^^^^^ `A` reimported here
|
|
|
|
| |
|
|
|
|
| previous import of the type `A` here
|
|
|
|
|
|
|
|
|
= note: `A` must be defined only once in the type namespace of this module
|
|
|
|
help: you can use `as` to change the binding name of the import
|
|
|
|
|
|
|
|
|
LL | use foo::{A, B as OtherA};
|
2024-07-10 01:49:11 +00:00
|
|
|
| ~~~~~~~~~
|
2018-10-17 01:09:43 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-17 01:09:43 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0252`.
|