Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
type
/
type-check
/
issue-41314.rs
blob: 856d4ff6334bc785c0a506bc6420316d8a8fa923 [
file
] [
log
] [
blame
]
enum
X
{
Y
(
u32
)
}
fn
main
()
{
match
X
::
Y
(
0
)
{
X
::
Y
{
number
}
=>
{}
//~ ERROR does not have a field named `number`
//~^ ERROR pattern does not mention field `0`
}
}