Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f62a35bae82dd0c5ff9dedd83fe2cfd74b67792
/
.
/
tests
/
ui
/
consts
/
const-match-pattern-arm.rs
blob: 27af3cf09156bf2edee5be6cf57f7ee3645463fe [
file
] [
log
] [
blame
]
//@ check-pass
const
_
:
bool
=
match
Some
(
true
)
{
Some
(
value
)
=>
true
,
_
=>
false
};
const
_
:
bool
=
{
match
Some
(
true
)
{
Some
(
value
)
=>
true
,
_
=>
false
}
};
fn
main
()
{}