Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
run-pass
/
structs-enums
/
auxiliary
/
namespaced_enum_emulate_flat.rs
blob: 55e6b34aca77094cc95a721e0f6ac6c6434f1cb7 [
file
] [
log
] [
blame
]
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
()
{}
}
}