1 error: variant `V` is private and cannot be re-exported
2 --> $DIR/private-variant-reexport.rs:2:13
4 LL | pub use ::E::V; //~ ERROR variant `V` is private and cannot be re-exported
8 | ------ help: consider making the enum public: `pub enum E`
10 error: variant `V` is private and cannot be re-exported
11 --> $DIR/private-variant-reexport.rs:6:19
13 LL | pub use ::E::{V}; //~ ERROR variant `V` is private and cannot be re-exported
16 error: variant `V` is private and cannot be re-exported
17 --> $DIR/private-variant-reexport.rs:10:22
19 LL | pub use ::E::V::{self}; //~ ERROR variant `V` is private and cannot be re-exported
22 error: enum is private and its variants cannot be re-exported
23 --> $DIR/private-variant-reexport.rs:14:13
25 LL | pub use ::E::*; //~ ERROR enum is private and its variants cannot be re-exported
28 error: aborting due to 4 previous errors