Sign in
rust
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
enum
/
namespaced-enums.rs
blob: f3f1a3bd44e500b4ab0ad153fe9f6c87bff64530 [
file
] [
edit
]
//@ check-pass
#![
allow
(
dead_code
)]
enum
Foo
{
A
,
B
(
isize
),
C
{
a
:
isize
},
}
fn
_foo
(
f
:
Foo
)
{
match
f
{
Foo
::
A
|
Foo
::
B
(
_
)
|
Foo
::
C
{
..
}
=>
{}
}
}
pub
fn
main
()
{}