Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs-enums
/
namespaced-enums.rs
blob: 1ce9319b8ec85013b4e26e2b4249237d3ba3b140 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#![
allow
(
dead_code
)]
//@ pretty-expanded FIXME #23616
enum
Foo
{
A
,
B
(
isize
),
C
{
a
:
isize
},
}
fn
_foo
(
f
:
Foo
)
{
match
f
{
Foo
::
A
|
Foo
::
B
(
_
)
|
Foo
::
C
{
..
}
=>
{}
}
}
pub
fn
main
()
{}