Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-37510.rs
blob: 2081c9f7e26ec0940d52bafc6a9a2b0e5e782951 [
file
] [
log
] [
blame
]
// check-pass
fn
foo
(
_
:
&
mut
i32
)
->
bool
{
true
}
fn
main
()
{
let
opt
=
Some
(
92
);
let
mut
x
=
62
;
if
let
Some
(
_
)
=
opt
{
}
else
if
foo
(&
mut
x
)
{
}
}