Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
issues
/
issue-2849.rs
blob: 787ab0e2896043ad92cb0e22a8b937ddd298e622 [
file
] [
log
] [
blame
]
enum
Foo
{
Alpha
,
Beta
(
isize
)
}
fn
main
()
{
match
Foo
::
Alpha
{
Foo
::
Alpha
|
Foo
::
Beta
(
i
)
=>
{}
//~^ ERROR variable `i` is not bound in all patterns
}
}