blob: 8e4c345286247158cea7c92d8d86dbcfada5a24c [file] [log] [blame]
error: variant `V` is private and cannot be re-exported
--> $DIR/private-variant-reexport.rs:2:13
|
LL | pub use ::E::V;
| ^^^^^^
...
LL | enum E { V }
| ------ help: consider making the enum public: `pub enum E`
error: variant `V` is private and cannot be re-exported
--> $DIR/private-variant-reexport.rs:6:19
|
LL | pub use ::E::{V};
| ^
error: variant `V` is private and cannot be re-exported
--> $DIR/private-variant-reexport.rs:10:22
|
LL | pub use ::E::V::{self};
| ^^^^
error: enum is private and its variants cannot be re-exported
--> $DIR/private-variant-reexport.rs:14:13
|
LL | pub use ::E::*;
| ^^^^^^
error: aborting due to 4 previous errors