Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
structs-enums
/
struct-variant-field-visibility.rs
blob: a6528f9a2b17ecef5e9d0f1b28c9828ee91b5f24 [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
dead_code
)]
mod
foo
{
pub
enum
Foo
{
Bar
{
a
:
isize
}
}
}
fn
f
(
f
:
foo
::
Foo
)
{
match
f
{
foo
::
Foo
::
Bar
{
a
:
_a
}
=>
{}
}
}
pub
fn
main
()
{}