error[E0252]: the name `X` is defined multiple times
- --> $DIR/double-type-import.rs:13:9
+ --> $DIR/double-type-import.rs:3:9
|
LL | pub use self::bar::X;
| ------------ previous import of the type `X` here
| ^^^^^^^^^^^^ `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
+help: you can use `as` to change the binding name of the import
|
LL | use self::bar::X as OtherX;
| ^^^^^^^^^^^^^^^^^^^^^^