Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
ab1f382ca8fa4a4c0dde58679207f9bec394fa0e
/
.
/
tests
/
ui
/
error-codes
/
E0026.rs
blob: 0b1ea1c7bcdb3480ce52bb3177f92207292e0320 [
file
] [
log
] [
blame
]
struct
Thing
{
x
:
u32
,
y
:
u32
}
fn
main
()
{
let
thing
=
Thing
{
x
:
0
,
y
:
0
};
match
thing
{
Thing
{
x
,
y
,
z
}
=>
{}
//~^ ERROR struct `Thing` does not have a field named `z` [E0026]
}
}