Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
tests
/
ui
/
structs
/
struct-fields-dupe.rs
blob: 2fa25a33545dfe21feace9fda7097579cddfad48 [
file
]
struct
BuildData
{
foo
:
isize
,
}
fn
main
()
{
let
foo
=
BuildData
{
foo
:
0
,
foo
:
0
//~ ERROR field `foo` specified more than once
};
}