1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#![allow(unused_imports)] mod inner { pub enum Example { ExOne, } } mod reexports { pub use crate::inner::Example as _; } use crate::reexports::*; //~^ SUGGESTION: use inner::Example::ExOne fn main() { ExOne; //~^ ERROR: cannot find value `ExOne` in this scope }