Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
issues
/
issue-31561.rs
blob: 87b19fe5ea7cbdfd47d80ec585c342ff09557ef2 [
file
] [
log
] [
blame
]
enum
Thing
{
Foo
(
u8
),
Bar
,
Baz
}
fn
main
()
{
let
Thing
::
Foo
(
y
)
=
Thing
::
Foo
(
1
);
//~^ ERROR refutable pattern in local binding: `Bar` not covered
}