Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
};
}