Sign in
◑
Theme
rust
/
rust
/
58f80da065eede67f1476ecd5f30006e62dcc2fe
/
.
/
tests
/
ui
/
issues
/
issue-3895.rs
blob: 6bd173d48785bfdf1624bb92dc5aad4e668ccb6d [
file
]
//@ run-pass
#![
allow
(
dead_code
)]
pub
fn
main
()
{
enum
State
{
BadChar
,
BadSyntax
}
match
State
::
BadChar
{
_
if
true
=>
State
::
BadChar
,
State
::
BadChar
|
State
::
BadSyntax
=>
panic
!()
,
};
}