Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
resolve
/
issue-54379.rs
blob: 807c54393f29b55f99a7f6ab1ad141be834bcd66 [
file
] [
log
] [
blame
]
struct
MyStruct
{
pub
s1
:
Option
<
String
>,
}
fn
main
()
{
let
thing
=
MyStruct
{
s1
:
None
};
match
thing
{
MyStruct
{
..,
Some
(
_
)
}
=>
{},
//~^ ERROR expected `,`
//~| ERROR expected `}`, found `,`
_
=>
{}
}
}