1 error[E0255]: the name `XStruct` is defined multiple times
2 --> $DIR/variant-namespacing.rs:24:35
4 LL | type XStruct = u8;
5 | ------------------ previous definition of the type `XStruct` here
7 LL | pub use variant_namespacing::XE::{XStruct, XTuple, XUnit};
8 | ^^^^^^^ `XStruct` reimported here
10 = note: `XStruct` must be defined only once in the type namespace of this module
11 help: you can use `as` to change the binding name of the import
13 LL | pub use variant_namespacing::XE::{XStruct as OtherXStruct, XTuple, XUnit};
14 | ~~~~~~~~~~~~~~~~~~~~~~~
16 error[E0255]: the name `XTuple` is defined multiple times
17 --> $DIR/variant-namespacing.rs:24:44
19 LL | type XTuple = u8;
20 | ----------------- previous definition of the type `XTuple` here
22 LL | pub use variant_namespacing::XE::{XStruct, XTuple, XUnit};
23 | ^^^^^^ `XTuple` reimported here
25 = note: `XTuple` must be defined only once in the type namespace of this module
26 help: you can use `as` to change the binding name of the import
28 LL | pub use variant_namespacing::XE::{XStruct, XTuple as OtherXTuple, XUnit};
29 | ~~~~~~~~~~~~~~~~~~~~~
31 error[E0255]: the name `XUnit` is defined multiple times
32 --> $DIR/variant-namespacing.rs:24:52
35 | ---------------- previous definition of the type `XUnit` here
37 LL | pub use variant_namespacing::XE::{XStruct, XTuple, XUnit};
38 | ^^^^^ `XUnit` reimported here
40 = note: `XUnit` must be defined only once in the type namespace of this module
41 help: you can use `as` to change the binding name of the import
43 LL | pub use variant_namespacing::XE::{XStruct, XTuple, XUnit as OtherXUnit};
46 error[E0255]: the name `Struct` is defined multiple times
47 --> $DIR/variant-namespacing.rs:28:13
49 LL | type Struct = u8;
50 | ----------------- previous definition of the type `Struct` here
52 LL | pub use E::{Struct, Tuple, Unit};
53 | ^^^^^^ `Struct` reimported here
55 = note: `Struct` must be defined only once in the type namespace of this module
56 help: you can use `as` to change the binding name of the import
58 LL | pub use E::{Struct as OtherStruct, Tuple, Unit};
59 | ~~~~~~~~~~~~~~~~~~~~~
61 error[E0255]: the name `Tuple` is defined multiple times
62 --> $DIR/variant-namespacing.rs:28:21
65 | ---------------- previous definition of the type `Tuple` here
67 LL | pub use E::{Struct, Tuple, Unit};
68 | ^^^^^ `Tuple` reimported here
70 = note: `Tuple` must be defined only once in the type namespace of this module
71 help: you can use `as` to change the binding name of the import
73 LL | pub use E::{Struct, Tuple as OtherTuple, Unit};
76 error[E0255]: the name `Unit` is defined multiple times
77 --> $DIR/variant-namespacing.rs:28:28
80 | --------------- previous definition of the type `Unit` here
82 LL | pub use E::{Struct, Tuple, Unit};
83 | ^^^^ `Unit` reimported here
85 = note: `Unit` must be defined only once in the type namespace of this module
86 help: you can use `as` to change the binding name of the import
88 LL | pub use E::{Struct, Tuple, Unit as OtherUnit};
91 error: aborting due to 6 previous errors
93 For more information about this error, try `rustc --explain E0255`.