Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
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
()
{}