Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
structs-enums
/
struct-variant-field-visibility.rs
blob: 7896c829a6e1fb8362f8fb75938169ab6733a3a3 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
mod
foo
{
pub
enum
Foo
{
Bar
{
a
:
isize
}
}
}
fn
f
(
f
:
foo
::
Foo
)
{
match
f
{
foo
::
Foo
::
Bar
{
a
:
_a
}
=>
{}
}
}
pub
fn
main
()
{}