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