1 error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
2 --> $DIR/private-variant-reexport.rs:2:13
7 note: consider marking `V` as `pub` in the imported module
8 --> $DIR/private-variant-reexport.rs:2:13
13 error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
14 --> $DIR/private-variant-reexport.rs:6:19
16 LL | pub use ::E::{V};
19 note: consider marking `V` as `pub` in the imported module
20 --> $DIR/private-variant-reexport.rs:6:19
22 LL | pub use ::E::{V};
25 error[E0365]: `V` is only public within the crate, and cannot be re-exported outside
26 --> $DIR/private-variant-reexport.rs:10:22
28 LL | pub use ::E::V::{self};
29 | ^^^^ re-export of crate public `V`
31 = note: consider declaring type or module `V` with `pub`
33 error: glob import doesn't reexport anything because no candidate is public enough
34 --> $DIR/private-variant-reexport.rs:15:13
39 note: the lint level is defined here
40 --> $DIR/private-variant-reexport.rs:13:8
42 LL | #[deny(unused_imports)]
45 error: aborting due to 4 previous errors
47 Some errors have detailed explanations: E0364, E0365.
48 For more information about an error, try `rustc --explain E0364`.