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