1 #![feature(crate_visibility_modifier)]
3 #[deny(unused_imports)]
5 pub use self::Professor::*;
6 //~^ ERROR glob import doesn't reexport anything
7 pub use self::Lieutenant::{JuniorGrade, Full};
8 //~^ ERROR `JuniorGrade` is private, and cannot be re-exported
9 //~| ERROR `Full` is private, and cannot be re-exported
10 pub use self::PettyOfficer::*;
11 //~^ ERROR glob import doesn't reexport anything
12 pub use self::Crewman::*;
13 //~^ ERROR glob import doesn't reexport anything
27 pub(in rank) enum PettyOfficer {