1 error[E0252]: the name `X` is defined multiple times
2 --> $DIR/double-type-import.rs:3: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
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0252`.