Sign in
fuchsia
/
third_party
/
rust
/
1dc13b5904cde9279b76909013cd40e1661fe8eb
/
.
/
src
/
test
/
ui
/
issues
/
issue-30240-b.rs
blob: 2df06842e1818b0dda55f9314cb85eec149204e2 [
file
] [
log
] [
blame
]
#![
deny
(
unreachable_patterns
)]
fn
main
()
{
match
"world"
{
"hello"
=>
{}
_
=>
{},
}
match
"world"
{
ref
_x
if
false
=>
{}
"hello"
=>
{}
"hello"
=>
{}
//~ ERROR unreachable pattern
_
=>
{},
}
}