blob: 0722b815c147a5c3545458a3f57fe411534a4a94 [file] [log] [blame]
mod m1 {
pub use ::E::V; //~ ERROR variant `V` is private and cannot be re-exported
}
mod m2 {
pub use ::E::{V}; //~ ERROR variant `V` is private and cannot be re-exported
}
mod m3 {
pub use ::E::V::{self}; //~ ERROR variant `V` is private and cannot be re-exported
}
mod m4 {
pub use ::E::*; //~ ERROR enum is private and its variants cannot be re-exported
}
enum E { V }
fn main() {}