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