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