Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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
};
}