rust/tests/ui/structs-enums/auxiliary/namespaced_enum_emulate_fla...

26 lines
278 B
Rust

pub use Foo::*;
pub enum Foo {
A,
B(isize),
C { a: isize },
}
impl Foo {
pub fn foo() {}
}
pub mod nest {
pub use self::Bar::*;
pub enum Bar {
D,
E(isize),
F { a: isize },
}
impl Bar {
pub fn foo() {}
}
}