]> git.proxmox.com Git - rustc.git/blame - src/test/ui/privacy/issue-46209-private-enum-variant-reexport.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / privacy / issue-46209-private-enum-variant-reexport.stderr
CommitLineData
6a06907d
XL
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
5869c6ff
XL
9 |
10LL | pub use self::Lieutenant::{JuniorGrade, Full};
11 | ^^^^^^^^^^^
5869c6ff 12
6a06907d
XL
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
5869c6ff
XL
21 |
22LL | pub use self::Lieutenant::{JuniorGrade, Full};
23 | ^^^^
24
6a06907d
XL
25error: 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 |
28LL | pub use self::Professor::*;
29 | ^^^^^^^^^^^^^^^^^^
6a06907d
XL
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 | ^^^^^^^^^^^^^^
5869c6ff 36
6a06907d
XL
37error: 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 |
40LL | pub use self::PettyOfficer::*;
41 | ^^^^^^^^^^^^^^^^^^^^^
5869c6ff 42
6a06907d
XL
43error: 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 |
46LL | pub use self::Crewman::*;
47 | ^^^^^^^^^^^^^^^^
5869c6ff
XL
48
49error: aborting due to 5 previous errors
50
6a06907d 51For more information about this error, try `rustc --explain E0364`.