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