fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: variant `V` is private and cannot be re-exported 2 --> $DIR/private-variant-reexport.rs:2:13 3 | 4LL | pub use ::E::V; 5 | ^^^^^^ 6... 7LL | enum E { V } 8 | ------ help: consider making the enum public: `pub enum E` 9 10error: variant `V` is private and cannot be re-exported 11 --> $DIR/private-variant-reexport.rs:6:19 12 | 13LL | pub use ::E::{V}; 14 | ^ 15 16error: variant `V` is private and cannot be re-exported 17 --> $DIR/private-variant-reexport.rs:10:22 18 | 19LL | pub use ::E::V::{self}; 20 | ^^^^ 21 22error: enum is private and its variants cannot be re-exported 23 --> $DIR/private-variant-reexport.rs:14:13 24 | 25LL | pub use ::E::*; 26 | ^^^^^^ 27 28error: aborting due to 4 previous errors 29