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