1 error[E0364]: `JuniorGrade` is private, and cannot be re-exported
2 --> $DIR/issue-46209-private-enum-variant-reexport.rs:5:32
4 LL | pub use self::Lieutenant::{JuniorGrade, Full};
7 note: consider marking `JuniorGrade` as `pub` in the imported module
8 --> $DIR/issue-46209-private-enum-variant-reexport.rs:5:32
10 LL | pub use self::Lieutenant::{JuniorGrade, Full};
13 error[E0364]: `Full` is private, and cannot be re-exported
14 --> $DIR/issue-46209-private-enum-variant-reexport.rs:5:45
16 LL | pub use self::Lieutenant::{JuniorGrade, Full};
19 note: consider marking `Full` as `pub` in the imported module
20 --> $DIR/issue-46209-private-enum-variant-reexport.rs:5:45
22 LL | pub use self::Lieutenant::{JuniorGrade, Full};
25 error: glob import doesn't reexport anything because no candidate is public enough
26 --> $DIR/issue-46209-private-enum-variant-reexport.rs:3:13
28 LL | pub use self::Professor::*;
31 note: the lint level is defined here
32 --> $DIR/issue-46209-private-enum-variant-reexport.rs:1:8
34 LL | #[deny(unused_imports)]
37 error: glob import doesn't reexport anything because no candidate is public enough
38 --> $DIR/issue-46209-private-enum-variant-reexport.rs:8:13
40 LL | pub use self::PettyOfficer::*;
41 | ^^^^^^^^^^^^^^^^^^^^^
43 error: glob import doesn't reexport anything because no candidate is public enough
44 --> $DIR/issue-46209-private-enum-variant-reexport.rs:10:13
46 LL | pub use self::Crewman::*;
49 error: aborting due to 5 previous errors
51 For more information about this error, try `rustc --explain E0364`.