Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
rfcs
/
rfc-2497-if-let-chains
/
issue-90722.rs
blob: 0113a87cecc2500dba3fc93023ff95dc1141d49f [
file
] [
log
] [
blame
]
//@ check-pass
//@ edition: 2024
fn
main
()
{
let
x
=
Some
(
vec
![
"test"
]);
if
let
Some
(
v
)
=
x
&&
v
.
is_empty
()
{
println
!(
"x == Some([])"
);
}
}