Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs-enums
/
struct-variant-field-visibility.rs
blob: 02d1ceb0513244f729841bda3fe928e59dcbe2bb [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}