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