Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
semi-in-let-chain.rs
blob: 9c21af0372d25971750bd864d895488459e6fc3d [
file
] [
log
] [
blame
] [
edit
]
// Issue #117720
#![
feature
(
let_chains
)]
fn
main
()
{
if
let
()
=
()
&&
let
()
=
();
//~ERROR
&&
let
()
=
()
{
}
}
fn
foo
()
{
if
let
()
=
()
&&
()
==
();
//~ERROR
&&
1
<
0
{
}
}
fn
bar
()
{
if
let
()
=
()
&&
()
==
();
//~ERROR
&&
let
()
=
()
{
}
}