Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
structs
/
struct-fields-hints.rs
blob: 08df0930e4d13cdbdcd18874f1471459a573f5ad [
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`
};
}