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