Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
structs
/
struct-fields-dupe.rs
blob: 2fa25a33545dfe21feace9fda7097579cddfad48 [
file
] [
log
] [
blame
]
struct
BuildData
{
foo
:
isize
,
}
fn
main
()
{
let
foo
=
BuildData
{
foo
:
0
,
foo
:
0
//~ ERROR field `foo` specified more than once
};
}