Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
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
};
}