Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
structs
/
struct-missing-comma.rs
blob: 4c3cac3369136a4854c089e38cd63044b7b240ef [
file
] [
log
] [
blame
]
// Issue #50636
struct
S
{
foo
:
u32
//~ expected `,`, or `}`, found `bar`
// ~^ HELP try adding a comma: ','
bar
:
u32
}
fn
main
()
{
let
s
=
S
{
foo
:
5
,
bar
:
6
};
}