Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-37510.rs
blob: 465e6809957041761e407b4ddb0315a1c0b5fd54 [
file
]
// compile-pass
// skip-codegen
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
)
{
}
}