1 error: variant `JuniorGrade` is private and cannot be re-exported
2 --> $DIR/issue-46209-private-enum-variant-reexport.rs:6:32
4 LL | pub use self::Lieutenant::{JuniorGrade, Full};
8 | --------------- help: consider making the enum public: `pub enum Lieutenant`
10 error: variant `Full` is private and cannot be re-exported
11 --> $DIR/issue-46209-private-enum-variant-reexport.rs:6:45
13 LL | pub use self::Lieutenant::{JuniorGrade, Full};
16 error: enum is private and its variants cannot be re-exported
17 --> $DIR/issue-46209-private-enum-variant-reexport.rs:4:13
19 LL | pub use self::Professor::*;
23 | -------------- help: consider making the enum public: `pub enum Professor`
25 error: enum is private and its variants cannot be re-exported
26 --> $DIR/issue-46209-private-enum-variant-reexport.rs:9:13
28 LL | pub use self::PettyOfficer::*;
29 | ^^^^^^^^^^^^^^^^^^^^^
31 LL | pub(in rank) enum PettyOfficer {
32 | ------------------------------ help: consider making the enum public: `pub enum PettyOfficer`
34 error: enum is private and its variants cannot be re-exported
35 --> $DIR/issue-46209-private-enum-variant-reexport.rs:11:13
37 LL | pub use self::Crewman::*;
40 LL | crate enum Crewman {
41 | ------------------ help: consider making the enum public: `pub enum Crewman`
43 error: aborting due to 5 previous errors