1 #![feature(crate_visibility_modifier)]
4 pub use self::Professor::*;
5 //~^ ERROR enum is private and its variants cannot be re-exported
6 pub use self::Lieutenant::{JuniorGrade, Full};
7 //~^ ERROR variant `JuniorGrade` is private and cannot be re-exported
8 //~| ERROR variant `Full` is private and cannot be re-exported
9 pub use self::PettyOfficer::*;
10 //~^ ERROR enum is private and its variants cannot be re-exported
11 pub use self::Crewman::*;
12 //~^ ERROR enum is private and its variants cannot be re-exported
26 pub(in rank) enum PettyOfficer {