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