Sign in
fuchsia
/
third_party
/
rust
/
41601a8c95240cada94c13466a1fea02e5fe87ed
/
.
/
src
/
test
/
ui
/
error-codes
/
E0001.rs
blob: 2c95f02bf3417ab5650627b0ed34eb7411563636 [
file
] [
log
] [
blame
]
#![
deny
(
unreachable_patterns
)]
fn
main
()
{
let
foo
=
Some
(
1
);
match
foo
{
Some
(
_
)
=>
{
/* ... */
}
None
=>
{
/* ... */
}
_
=>
{
/* ... */
}
//~ ERROR unreachable pattern
}
}