Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
structs
/
struct-missing-comma.fixed
blob: a28179ba241681ae4ab2d54dc09f22d8fbcb8b80 [
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
};
}