Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
structs
/
struct-fields-hints-no-dupe.rs
blob: 987cf726fec292ef6e3f28077630a44ddddf2515 [
file
] [
log
] [
blame
]
struct
A
{
foo
:
i32
,
car
:
i32
,
barr
:
i32
}
fn
main
()
{
let
a
=
A
{
foo
:
5
,
bar
:
42
,
//~^ ERROR struct `A` has no field named `bar`
car
:
9
,
};
}