Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
tests
/
ui
/
structs
/
struct-duplicate-comma.rs
blob: 5982cea93f55d1f57234dfd608aa9b7547ede68a [
file
]
//@ run-rustfix
// Issue #50974
pub
struct
Foo
{
pub
a
:
u8
,
pub
b
:
u8
}
fn
main
()
{
let
_
=
Foo
{
a
:
0
,,
//~^ ERROR expected identifier
b
:
42
};
}