Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
if-attrs
/
let-chains-attr.rs
blob: 5237a9ff3961a060c3d459f0e985bddc2bad9a16 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
let_chains
)]
//~ WARN the feature `let_chains` is incomplete
#[
cfg
(
FALSE
)]
fn
foo
()
{
#[
attr
]
if
let
Some
(
_
)
=
Some
(
true
)
&&
let
Ok
(
_
)
=
Ok
(
1
)
{
}
else
if
let
Some
(
false
)
=
Some
(
true
)
{
}
}
fn
main
()
{}