blob: 4bdee0c4c9f6c5749eae1ac24d9d5bfcd9ba38de [file] [log] [blame]
error[E0252]: the name `X` is defined multiple times
--> $DIR/double-type-import.rs:3:9
|
LL | pub use self::bar::X;
| ------------ previous import of the type `X` here
LL | use self::bar::X;
| ^^^^^^^^^^^^ `X` reimported here
|
= note: `X` 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 self::bar::X as OtherX;
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0252`.