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