mod a { pub enum Foo { Bar, Baz, Boo } } fn main() { let x = a::Bar; }