Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
src
/
test
/
ui
/
issues
/
issue-52717.rs
blob: f83232a4a268994dc5232f3710a1e0d38de5903c [
file
] [
log
] [
blame
]
enum
A
{
A
{
foo
:
usize
,
}
}
fn
main
()
{
let
x
=
A
::
A
{
foo
:
3
};
match
x
{
A
::
A
{
fob
}
=>
{
println
!(
"{}"
,
fob
);
}
//~^ ERROR does not have a field named `fob`
}
}