Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
issues
/
issue-3895.rs
blob: c560ca60dd3b09cd12a8fb396b84669f66665be0 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
pub
fn
main
()
{
enum
State
{
BadChar
,
BadSyntax
}
match
State
::
BadChar
{
_
if
true
=>
State
::
BadChar
,
State
::
BadChar
|
State
::
BadSyntax
=>
panic
!()
,
};
}