Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
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 `,`
_
=>
{}
}
}