Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs
/
struct-fields-too-many.rs
blob: 8be8dcbf13cbc4ea9cd9fc0c03160331fa8c0244 [
file
] [
log
] [
blame
] [
edit
]
struct
BuildData
{
foo
:
isize
,
}
fn
main
()
{
let
foo
=
BuildData
{
foo
:
0
,
bar
:
0
//~^ ERROR struct `BuildData` has no field named `bar`
};
}