Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
structs
/
struct-fields-missing.rs
blob: 0c7919d0249e9e0eea9dea190f27da7ddbd2bf39 [
file
] [
log
] [
blame
]
struct
BuildData
{
foo
:
isize
,
bar
:
Box
<
isize
>,
}
fn
main
()
{
let
foo
=
BuildData
{
//~ ERROR missing field `bar` in initializer of `BuildData`
foo
:
0
};
}