Sign in
fuchsia
/
third_party
/
rust
/
11429b2d1373c4a0c26ce681983cfa9aa925daaf
/
.
/
src
/
test
/
ui
/
parser
/
bind-struct-early-modifiers.rs
blob: c1de0df54e278112637a2726177ac19279c3f24e [
file
] [
log
] [
blame
]
fn
main
()
{
struct
Foo
{
x
:
isize
}
match
(
Foo
{
x
:
10
})
{
Foo
{
ref
x
:
ref
x
}
=>
{},
//~ ERROR expected `,`
//~| ERROR pattern does not mention field `x`
_
=>
{}
}
}