Sign in
rust
/
rust
/
d7a18fc052d1db50057d6fff023ca4bd8ec7617e
/
.
/
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`
};
}